Ticket distribution API

API for ticketing distribution
There are two API that a client must have to implement in order to perform a complete ticket booking flow in Onebox.
The first one is the Oauth2 Authentiation API, this API will let you retrieve an authorization token to be used afterwards to call any service from the distribution API.

1. Authentication
- OAUTH2 Bearer token
2. Basic booking flow
-
Download product catalogue
-
Check availability (Widget or API)
-
Add seats to shopping cart
-
Create an order
-
Process payment (client side)
-
Confirm the order
-
Download ticket

Notice that you also will be able to search for availability and navigate across numbered venues. Must see the distribution API online documentation: Onebox Distribution API Documentation
Get your API-KEY
An API-KEY and username/password credentials are needed to be able to use our API, if you are interested with, please fulfill the request form below and we will contact you asap:
Booking Flow Alignment
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
Certification Process
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
API Error codes
Posar taula markdown
Auditory
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
Contact
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
1. Contents and Availability ¶
This group contains all the related services and resources about contents like events, activities or session performances and its availability.
Product Catalogue ¶
Headers
Authorization: Bearer [ACCESS_TOKEN]
Content-Type: application/x-www-form-urlencoded
Accept: application/json- Headers
traceID:
String: Unique id to identify the transaction within the Onebox API audit systemOB_Error_Code:Number: This is the Onebox error codes. Get the full list here: [go to Onebox error responses](http://developer.oneboxtickets.com/httpresponsecodes.html)
Headers
Content-Type: application/json;charset=UTF-8Body
{
"event-search-info": [
{
"@id": 23454,
"internalName": "7 days 1 park",
"externalReferenceCode": "EXT-123",
"title": "Theme Park",
"subtitle": "¡Discover the 6 worlds adrenaline!",
"shortDescription": "<P ALIGN=\\\"LEFT\\\">Six amazing worlds in just one Park, perfect for having fun in family and frends as well.</P>",
"longDescription": "<P ALIGN=\\\"LEFT\\\">Explore a whole world of fun and know our amazing theme parks. An ideal destination for a family getaway, located in one of the best tourist areas of Spain and just an hour from Barcelona! </ P> <BR/> <P ALIGN = \\ \"LEFT \\\"> The best entertainment, relaxation, gastronomy and shopping you can imagine. > A DESTINY AND SIX WORLDS TO DISCOVER </ P> <P ALIGN = \\ \"LEFT \\\"> Here begins a journey that takes you much further than you can imagine. At the Park we look forward to six fascinating worlds completely different, with a careful decoration to the last detail, so that you enjoy to the maximum. Emotions for all tastes. Families, friends, big and small: in our theme park, all the fun.</P>",
"additionalEventData": "",
"duration": "",
"communication-elements": {
"@language": "en_US",
"images": [
{
"@type": "LOGO_WEB",
"@order": 1,
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"videos": [
{
"@type": "VIDEO",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"files": [
{
"@type": "FILE",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"banners": [
{
"@type": "CHANNEL_PURCHASE_HEADER_BANNER",
"imageUrl": "https://s3.amazonaws.com/onebox-repository/pro/1/1/itemIdioma/1741/1_image_1340695930723.jpg",
"linkUrl": "http://www.website.com/channel_id"
}
]
},
"taxonomy": {
"@id": 68,
"code": "APRTEM",
"description": "Theme Parks",
"superior-taxonomy": {
"@id": 68,
"code": "APRTEM",
"description": "Theme Parks"
}
},
"custom-taxonomy": {
"@id": 68,
"code": "APRTEM",
"description": "Theme Parks"
},
"promoter-custom-taxonomy": {
"@id": 68,
"code": "APRTEM",
"description": "Theme Parks"
},
"languages": {
"language": [
"",
"ca_ES"
]
},
"dates": {
"datetime": [
{
"@type": "EVENT_BEGIN",
"@pendingConfirmation": false,
"@timeZoneId": "Europe/Berlin",
"$": "2018-01-07T19:00:00.000+01:00"
}
]
},
"entidad": {
"@id": 123,
"name": "Theme Park",
"nif": "A54343234",
"email": "info@theme.park",
"phoneNumber": "0034 555 55 55",
"timeZone": "Europe/Madrid",
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
}
},
"promotor": {
"@id": 475,
"corporateName": "Theme Park Entertainment SA.",
"fiscalCode": "A53776307",
"email": "info@theme.park",
"phoneNumber": "0034 555 55 55",
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
}
},
"tour": {
"@id": 475,
"name": "Theme Park",
"promotorReference": "Theme Park Entertainment SA."
},
"severalVenues": false,
"severalLocations": false,
"supraEvent": false,
"giftTicket": false,
"nominal": false,
"eventType": "EVENT",
"attribute-values": [
{
"attribute-info": {
"id": 0,
"name": "",
"selection": "SINGLE",
"domain-value-info": [
{
"idValue": 10,
"value": "oneboxtm",
"referenceCode": "OB"
}
],
"domain": "EVENT",
"valueType": "DOMAIN_VALUE",
"referenceCode": "Attr"
},
"attribute-value": [
{
"user-input-value": {},
"domain-value": {
"value": "``",
"idValue": 30
}
}
],
"idAttribute": 50,
"description": "DESCRIPTION"
}
],
"passbookPreferences": {
"communication-elements": {
"@language": "en_US",
"images": [
{
"@type": "LOGO_WEB",
"@order": 1,
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"videos": [
{
"@type": "VIDEO",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"files": [
{
"@type": "FILE",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"banners": [
{
"@type": "CHANNEL_PURCHASE_HEADER_BANNER",
"imageUrl": "https://s3.amazonaws.com/onebox-repository/pro/1/1/itemIdioma/1741/1_image_1340695930723.jpg",
"linkUrl": "http://www.website.com/channel_id"
}
]
}
},
"clientEventDiscount": {
"discountType": "AMOUNT"
},
"sessions-search-info": {
"session-search-info": [
{
"@id": 5553432,
"internalName": "7 days 1 park",
"name": "7 days 1 park",
"description": "<P ALIGN=\\\"LEFT\\\">Six amazing worlds in just one Park, perfect for having fun in family and frends as well.</P>",
"dates": {
"datetime": [
{
"@type": "EVENT_BEGIN",
"@pendingConfirmation": false,
"@timeZoneId": "Europe/Berlin",
"$": "2018-01-07T19:00:00.000+01:00"
}
]
},
"venue": {
"@id": 432432,
"@name": "World Park",
"@timeZone": "Europe/Berlin",
"communication-elements": {
"@language": "en_US",
"images": [
{
"@type": "LOGO_WEB",
"@order": 1,
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"videos": [
{
"@type": "VIDEO",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"files": [
{
"@type": "FILE",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"banners": [
{
"@type": "CHANNEL_PURCHASE_HEADER_BANNER",
"imageUrl": "https://s3.amazonaws.com/onebox-repository/pro/1/1/itemIdioma/1741/1_image_1340695930723.jpg",
"linkUrl": "http://www.website.com/channel_id"
}
]
},
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
}
},
"space": {
"id": 150,
"name": "SPACE"
},
"event-basic-info": {
"@id": 23454,
"internalName": "7 days 1 park",
"externalReferenceCode": "EXT-123",
"title": "Theme Park",
"subtitle": "¡Discover the 6 worlds adrenaline!",
"shortDescription": "<P ALIGN=\\\"LEFT\\\">Six amazing worlds in just one Park, perfect for having fun in family and frends as well.</P>",
"longDescription": "<P ALIGN=\\\"LEFT\\\">Explore a whole world of fun and know our amazing theme parks. An ideal destination for a family getaway, located in one of the best tourist areas of Spain and just an hour from Barcelona! </ P> <BR/> <P ALIGN = \\ \"LEFT \\\"> The best entertainment, relaxation, gastronomy and shopping you can imagine. > A DESTINY AND SIX WORLDS TO DISCOVER </ P> <P ALIGN = \\ \"LEFT \\\"> Here begins a journey that takes you much further than you can imagine. At the Park we look forward to six fascinating worlds completely different, with a careful decoration to the last detail, so that you enjoy to the maximum. Emotions for all tastes. Families, friends, big and small: in our theme park, all the fun.</P>",
"additionalEventData": "",
"duration": "",
"communication-elements": {
"@language": "en_US",
"images": [
{
"@type": "LOGO_WEB",
"@order": 1,
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"videos": [
{
"@type": "VIDEO",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"files": [
{
"@type": "FILE",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"banners": [
{
"@type": "CHANNEL_PURCHASE_HEADER_BANNER",
"imageUrl": "https://s3.amazonaws.com/onebox-repository/pro/1/1/itemIdioma/1741/1_image_1340695930723.jpg",
"linkUrl": "http://www.website.com/channel_id"
}
]
},
"taxonomy": {
"@id": 68,
"code": "APRTEM",
"description": "Theme Parks",
"superior-taxonomy": {
"@id": 68,
"code": "APRTEM",
"description": "Theme Parks"
}
},
"custom-taxonomy": {
"@id": 68,
"code": "APRTEM",
"description": "Theme Parks"
},
"promoter-custom-taxonomy": {
"@id": 68,
"code": "APRTEM",
"description": "Theme Parks"
},
"languages": {
"language": [
"",
"ca_ES"
]
},
"dates": {
"datetime": [
{
"@type": "EVENT_BEGIN",
"@pendingConfirmation": false,
"@timeZoneId": "Europe/Berlin",
"$": "2018-01-07T19:00:00.000+01:00"
}
]
},
"entidad": {
"@id": 123,
"name": "Theme Park",
"nif": "A54343234",
"email": "info@theme.park",
"phoneNumber": "0034 555 55 55",
"timeZone": "Europe/Madrid",
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
}
},
"promotor": {
"@id": 475,
"corporateName": "Theme Park Entertainment SA.",
"fiscalCode": "A53776307",
"email": "info@theme.park",
"phoneNumber": "0034 555 55 55",
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
}
},
"tour": {
"@id": 475,
"name": "Theme Park",
"promotorReference": "Theme Park Entertainment SA."
},
"severalVenues": false,
"severalLocations": false,
"supraEvent": false,
"giftTicket": false,
"nominal": false,
"eventType": "EVENT",
"attribute-values": [
{
"attribute-info": {
"id": 0,
"name": "",
"selection": "SINGLE",
"domain-value-info": [
{
"idValue": 10,
"value": "oneboxtm",
"referenceCode": "OB"
}
],
"domain": "EVENT",
"valueType": "DOMAIN_VALUE",
"referenceCode": "Attr"
},
"attribute-value": [
{
"user-input-value": {},
"domain-value": {
"value": "``",
"idValue": 30
}
}
],
"idAttribute": 50,
"description": "DESCRIPTION"
}
],
"passbookPreferences": {
"communication-elements": {
"@language": "en_US",
"images": [
{
"@type": "LOGO_WEB",
"@order": 1,
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"videos": [
{
"@type": "VIDEO",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"files": [
{
"@type": "FILE",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"banners": [
{
"@type": "CHANNEL_PURCHASE_HEADER_BANNER",
"imageUrl": "https://s3.amazonaws.com/onebox-repository/pro/1/1/itemIdioma/1741/1_image_1340695930723.jpg",
"linkUrl": "http://www.website.com/channel_id"
}
]
}
},
"clientEventDiscount": {
"discountType": "AMOUNT"
}
},
"forSale": true,
"blockingReasons": "",
"hasProducts": false,
"admission": "ALL_AGES_ADMITTED",
"supportedEventType": "EVENT",
"supportedVisitorType": "INDIVIDUAL",
"attribute-values": [
{
"attribute-info": {
"id": 0,
"name": "",
"selection": "SINGLE",
"domain-value-info": [
{
"idValue": 10,
"value": "oneboxtm",
"referenceCode": "OB"
}
],
"domain": "EVENT",
"valueType": "DOMAIN_VALUE",
"referenceCode": "Attr"
},
"attribute-value": [
{
"user-input-value": {},
"domain-value": {
"value": "``",
"idValue": 30
}
}
],
"idAttribute": 50,
"description": "DESCRIPTION"
}
],
"visitorGroupConfig": "",
"hideSessionDates": false,
"showDate": false,
"showDatetime": false,
"@rates": "7 days 1 park UK/PAP17",
"season-session-info": {
"beginDate": "2015-09-01T12:00:00+01:00",
"endDate": "2015-10-01T12:00:00+01:00",
"idsSeasonSessions": [],
"seasonSessions": {
"@id": 5553432,
"internalName": "7 days 1 park",
"name": "7 days 1 park",
"description": "<P ALIGN=\\\"LEFT\\\">Six amazing worlds in just one Park, perfect for having fun in family and frends as well.</P>",
"dates": {
"datetime": [
{
"@type": "EVENT_BEGIN",
"@pendingConfirmation": false,
"@timeZoneId": "Europe/Berlin",
"$": "2018-01-07T19:00:00.000+01:00"
}
]
},
"venue": {
"@id": 432432,
"@name": "World Park",
"@timeZone": "Europe/Berlin",
"communication-elements": {
"@language": "en_US",
"images": [
{
"@type": "LOGO_WEB",
"@order": 1,
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"videos": [
{
"@type": "VIDEO",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"files": [
{
"@type": "FILE",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"banners": [
{
"@type": "CHANNEL_PURCHASE_HEADER_BANNER",
"imageUrl": "https://s3.amazonaws.com/onebox-repository/pro/1/1/itemIdioma/1741/1_image_1340695930723.jpg",
"linkUrl": "http://www.website.com/channel_id"
}
]
},
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
}
},
"space": {
"id": 150,
"name": "SPACE"
},
"event-basic-info": {
"@id": 23454,
"internalName": "7 days 1 park",
"externalReferenceCode": "EXT-123",
"title": "Theme Park",
"subtitle": "¡Discover the 6 worlds adrenaline!",
"shortDescription": "<P ALIGN=\\\"LEFT\\\">Six amazing worlds in just one Park, perfect for having fun in family and frends as well.</P>",
"longDescription": "<P ALIGN=\\\"LEFT\\\">Explore a whole world of fun and know our amazing theme parks. An ideal destination for a family getaway, located in one of the best tourist areas of Spain and just an hour from Barcelona! </ P> <BR/> <P ALIGN = \\ \"LEFT \\\"> The best entertainment, relaxation, gastronomy and shopping you can imagine. > A DESTINY AND SIX WORLDS TO DISCOVER </ P> <P ALIGN = \\ \"LEFT \\\"> Here begins a journey that takes you much further than you can imagine. At the Park we look forward to six fascinating worlds completely different, with a careful decoration to the last detail, so that you enjoy to the maximum. Emotions for all tastes. Families, friends, big and small: in our theme park, all the fun.</P>",
"additionalEventData": "",
"duration": "",
"communication-elements": {
"@language": "en_US",
"images": [
{
"@type": "LOGO_WEB",
"@order": 1,
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"videos": [
{
"@type": "VIDEO",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"files": [
{
"@type": "FILE",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"banners": [
{
"@type": "CHANNEL_PURCHASE_HEADER_BANNER",
"imageUrl": "https://s3.amazonaws.com/onebox-repository/pro/1/1/itemIdioma/1741/1_image_1340695930723.jpg",
"linkUrl": "http://www.website.com/channel_id"
}
]
},
"taxonomy": {
"@id": 68,
"code": "APRTEM",
"description": "Theme Parks",
"superior-taxonomy": {
"@id": 68,
"code": "APRTEM",
"description": "Theme Parks"
}
},
"custom-taxonomy": {
"@id": 68,
"code": "APRTEM",
"description": "Theme Parks"
},
"promoter-custom-taxonomy": {
"@id": 68,
"code": "APRTEM",
"description": "Theme Parks"
},
"languages": {
"language": [
"",
"ca_ES"
]
},
"dates": {
"datetime": [
{
"@type": "EVENT_BEGIN",
"@pendingConfirmation": false,
"@timeZoneId": "Europe/Berlin",
"$": "2018-01-07T19:00:00.000+01:00"
}
]
},
"entidad": {
"@id": 123,
"name": "Theme Park",
"nif": "A54343234",
"email": "info@theme.park",
"phoneNumber": "0034 555 55 55",
"timeZone": "Europe/Madrid",
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
}
},
"promotor": {
"@id": 475,
"corporateName": "Theme Park Entertainment SA.",
"fiscalCode": "A53776307",
"email": "info@theme.park",
"phoneNumber": "0034 555 55 55",
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
}
},
"tour": {
"@id": 475,
"name": "Theme Park",
"promotorReference": "Theme Park Entertainment SA."
},
"severalVenues": false,
"severalLocations": false,
"supraEvent": false,
"giftTicket": false,
"nominal": false,
"eventType": "EVENT",
"attribute-values": [
{
"attribute-info": {
"id": 0,
"name": "",
"selection": "SINGLE",
"domain-value-info": [
{
"idValue": 10,
"value": "oneboxtm",
"referenceCode": "OB"
}
],
"domain": "EVENT",
"valueType": "DOMAIN_VALUE",
"referenceCode": "Attr"
},
"attribute-value": [
{
"user-input-value": {},
"domain-value": {
"value": "``",
"idValue": 30
}
}
],
"idAttribute": 50,
"description": "DESCRIPTION"
}
],
"passbookPreferences": {
"communication-elements": {
"@language": "en_US",
"images": [
{
"@type": "LOGO_WEB",
"@order": 1,
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"videos": [
{
"@type": "VIDEO",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"files": [
{
"@type": "FILE",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"banners": [
{
"@type": "CHANNEL_PURCHASE_HEADER_BANNER",
"imageUrl": "https://s3.amazonaws.com/onebox-repository/pro/1/1/itemIdioma/1741/1_image_1340695930723.jpg",
"linkUrl": "http://www.website.com/channel_id"
}
]
}
},
"clientEventDiscount": {
"discountType": "AMOUNT"
}
},
"forSale": true,
"blockingReasons": "",
"hasProducts": false,
"admission": "ALL_AGES_ADMITTED",
"supportedEventType": "EVENT",
"supportedVisitorType": "INDIVIDUAL",
"attribute-values": [
{
"attribute-info": {
"id": 0,
"name": "",
"selection": "SINGLE",
"domain-value-info": [
{
"idValue": 10,
"value": "oneboxtm",
"referenceCode": "OB"
}
],
"domain": "EVENT",
"valueType": "DOMAIN_VALUE",
"referenceCode": "Attr"
},
"attribute-value": [
{
"user-input-value": {},
"domain-value": {
"value": "``",
"idValue": 30
}
}
],
"idAttribute": 50,
"description": "DESCRIPTION"
}
],
"visitorGroupConfig": "",
"hideSessionDates": false,
"showDate": false,
"showDatetime": false,
"@rates": "7 days 1 park UK/PAP17",
"season-session-info": {}
},
"@isSeasonSession": 0
},
"availability-info": {
"total": 2500,
"available": 2000,
"blockedAvailability": {
"blockingReasonsAvailability": {
"blockingReasonAvailability": [
{
"@id": 10,
"value": 10
}
]
}
}
},
"sessionMinPrice": {
"price": 0,
"charges": {
"charge": [
{
"@type": "CHANNEL_CHARGE",
"value 1.5": 0
}
]
}
},
"sessionMaxPrice": {
"price": 10,
"charges": {
"charge": [
{
"@type": "CHANNEL_CHARGE",
"value 1.5": 0
}
]
}
},
"price-zones-availability": {
"priceZoneAvailability": [
{
"originalBasePrice": 100,
"originalBasePriceCharges": {
"charge": [
{
"@type": "CHANNEL_CHARGE",
"value 1.5": 0
}
]
},
"automatic-promotion": {
"@id": 30,
"promotionComElements": {
"name": "NAME",
"description": "DESCRIPTION"
},
"type": "PERCENTAGE",
"value": 10,
"priceZonesIds": {
"priceZonesId": [
10,
12,
15
]
},
"group": {
"i@d": 30,
"name": "NAME",
"validationType": "CHANNEL",
"validationMethod": "PROMOTIONAL_CODE"
},
"limitedUses": false
},
"promotedPrice": 100,
"promotedPriceCharges": {
"charge": [
{
"@type": "CHANNEL_CHARGE",
"value 1.5": 0
}
]
},
"@id": 555,
"name": "NAME",
"code": "ZP1",
"color": "#FFFFFF",
"availability-info": {
"total": 2500,
"available": 2000,
"blockedAvailability": {
"blockingReasonsAvailability": {
"blockingReasonAvailability": [
{
"@id": 10,
"value": 10
}
]
}
}
},
"sector-availability": [
{
"@id": 100,
"availability-info": {
"total": 2500,
"available": 2000,
"blockedAvailability": {
"blockingReasonsAvailability": {
"blockingReasonAvailability": [
{
"@id": 10,
"value": 10
}
]
}
}
}
}
]
}
]
},
"activity-ticket-types-availability": {
"activity-ticket-type-availability": [
{
"@id": 555,
"name": "NAME",
"code": "ZP1",
"individualPrice": {
"originalBasePrice": 100,
"originalBasePriceCharges": {
"charge": [
{
"@type": "CHANNEL_CHARGE",
"value 1.5": 0
}
]
},
"automatic-promotion": {
"@id": 30,
"promotionComElements": {
"name": "NAME",
"description": "DESCRIPTION"
},
"type": "PERCENTAGE",
"value": 10,
"priceZonesIds": {
"priceZonesId": [
10,
12,
15
]
},
"group": {
"i@d": 30,
"name": "NAME",
"validationType": "CHANNEL",
"validationMethod": "PROMOTIONAL_CODE"
},
"limitedUses": false
},
"promotedPrice": 100,
"promotedPriceCharges": {
"charge": [
{
"@type": "CHANNEL_CHARGE",
"value 1.5": 0
}
]
}
},
"visitorGroupPrice": {
"originalBasePrice": 100,
"originalBasePriceCharges": {
"charge": [
{
"@type": "CHANNEL_CHARGE",
"value 1.5": 0
}
]
},
"automatic-promotion": {
"@id": 30,
"promotionComElements": {
"name": "NAME",
"description": "DESCRIPTION"
},
"type": "PERCENTAGE",
"value": 10,
"priceZonesIds": {
"priceZonesId": [
10,
12,
15
]
},
"group": {
"i@d": 30,
"name": "NAME",
"validationType": "CHANNEL",
"validationMethod": "PROMOTIONAL_CODE"
},
"limitedUses": false
},
"promotedPrice": 100,
"promotedPriceCharges": {
"charge": [
{
"@type": "CHANNEL_CHARGE",
"value 1.5": 0
}
]
}
},
"visitorGroupPricingType": "PER_ASSISTANT",
"color": "#FFFFFF",
"availability-info": {
"total": 2500,
"available": 2000,
"blockedAvailability": {
"blockingReasonsAvailability": {
"blockingReasonAvailability": [
{
"@id": 10,
"value": 10
}
]
}
}
},
"sector-availability": [
{
"@id": 100,
"availability-info": {
"total": 2500,
"available": 2000,
"blockedAvailability": {
"blockingReasonsAvailability": {
"blockingReasonAvailability": [
{
"@id": 10,
"value": 10
}
]
}
}
}
}
]
}
]
},
"sector": [
{
"@id": 222,
"sectorName": "SECTOR"
}
],
"visitorGroupAvailability": {
"totalVisitorGroups": 0,
"availableVisitorGroups": 0
}
}
]
},
"eventMinPrice": {
"price": 0,
"charges": {
"charge": [
{
"@type": "CHANNEL_CHARGE",
"value 1.5": 0
}
]
}
},
"eventMaxPrice": {
"price": 10,
"charges": {
"charge": [
{
"@type": "CHANNEL_CHARGE",
"value 1.5": 0
}
]
}
}
}
]
}Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"event-search-info": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique identifier for each event/activity product."
},
"internalName": {
"type": "string",
"description": "Product internal description name."
},
"externalReferenceCode": {
"type": "string",
"description": "In case of product from 3rd party suppliers, those came with its own reference."
},
"title": {
"type": "string",
"description": "Event main title"
},
"subtitle": {
"type": "string",
"description": "Event secondary title"
},
"shortDescription": {
"type": "string",
"description": "Event short description"
},
"longDescription": {
"type": "string",
"description": "Event detailed description"
},
"additionalEventData": {
"type": "string"
},
"duration": {
"type": "string"
},
"communication-elements": {
"type": "object",
"properties": {
"@language": {
"type": "string",
"description": "Indicates the language of the communitacion event details."
},
"images": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`Image categorization, ie: LOGO_WEB, IMG_BANNER_WEB, IMG_BODY_WEB.`"
},
"@order": {
"type": "number",
"description": "Indicates just the order/priority in case of same type. This number is unique."
},
"$": {
"type": "string",
"description": "Absolute path to the image file."
}
},
"required": [
"@type",
"@order",
"$"
]
},
"description": "List of related images as banners, logo's, backgrounds..."
},
"videos": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`Video categorization.`"
},
"$": {
"type": "string",
"description": "Absolute path to the video file."
}
},
"required": [
"@type",
"$"
]
},
"description": "List of related images as banners, logo's, backgrounds..."
},
"files": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`File categorization.`"
},
"$": {
"type": "string",
"description": "Absolute path to the file."
}
},
"required": [
"@type",
"$"
]
},
"description": "List of related images as banners, logo's, backgrounds..."
},
"banners": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`Banner categorization, ie: CHANNEL_PURCHASE_HEADER_BANNER, CHANNEL_PURCHASE_BANNER, PROMOTER_PURCHASE_BANNER`"
},
"imageUrl": {
"type": "string",
"description": "Absolute path to the banner image file."
},
"linkUrl": {
"type": "string",
"description": "Direct link to the promotional site just in case."
}
},
"required": [
"@type",
"imageUrl"
]
},
"description": "List of related banners to put into a website, pdf, ticket..."
}
},
"required": [
"@language"
]
},
"taxonomy": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique identifier of this product segmentation."
},
"code": {
"type": "string",
"description": "Unique identifier fo this product segmentation to be used in th API."
},
"description": {
"type": "string",
"description": "Short description to better understand the taxonomy segmentation."
},
"superior-taxonomy": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique identifier of this product segmentation."
},
"code": {
"type": "string",
"description": "Unique identifier fo this product segmentation to be used in th API."
},
"description": {
"type": "string",
"description": "Short description to better understand the taxonomy segmentation."
}
},
"required": [
"@id",
"code"
]
}
},
"required": [
"@id",
"code"
]
},
"custom-taxonomy": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique identifier of this product segmentation."
},
"code": {
"type": "string",
"description": "Unique identifier fo this product segmentation to be used in th API."
},
"description": {
"type": "string",
"description": "Short description to better understand the taxonomy segmentation."
}
},
"required": [
"@id",
"code"
]
},
"promoter-custom-taxonomy": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique identifier of this product segmentation."
},
"code": {
"type": "string",
"description": "Unique identifier fo this product segmentation to be used in th API."
},
"description": {
"type": "string",
"description": "Short description to better understand the taxonomy segmentation."
}
},
"required": [
"@id",
"code"
]
},
"languages": {
"type": "object",
"properties": {
"language": {
"type": "array",
"items": [
{},
{
"type": "string",
"enum": [
"ca_ES",
"es_ES",
"en_US",
"fr_FR",
"it_IT",
"de_DE"
]
}
],
"description": "`List of the available languages for the event descriptions.`"
}
}
},
"dates": {
"type": "object",
"properties": {
"datetime": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"enum": [
"EVENT_BEGIN",
"EVENT_END",
"SESSION_BEGIN",
"SESSION_END",
"SESSION_SALES_BEGIN",
"SESSION_SALES_END",
"PRODUCT_SALES",
"PRODUCT_SALES_END",
"SESSION_PUBLISHED",
"PROMOTION_BEGIN",
"PROMOTION_END",
"SEASON_TICKET_HOLDER_BEGIN",
"SEASON_TICKET_HOLDER_END"
],
"description": "Define the date meaning possibilites."
},
"@pendingConfirmation": {
"type": "boolean",
"description": "Says whether the date is finally commited or not."
},
"@timeZoneId": {
"type": "string",
"description": "Define the time zone worldwide from UTC."
},
"$": {
"type": "string",
"description": "XmlGregorianCalendar representation of the given date."
}
}
}
}
}
},
"entidad": {
"type": "object",
"properties": {
"@id": {
"type": "number"
},
"name": {
"type": "string",
"description": "Promotor/Organizer company name."
},
"nif": {
"type": "string",
"description": "Tax/Vat unique identifier number."
},
"email": {
"type": "string"
},
"phoneNumber": {
"type": "string"
},
"timeZone": {
"type": "string"
},
"location": {
"type": "object",
"properties": {
"address": {
"type": "string",
"description": "Venue address where the event will be performed."
},
"city": {
"type": "string",
"description": "City where the event will be performed."
},
"postalCode": {
"type": "string",
"description": "Postal code or zip code where the event will be performed."
},
"countrySubdivision": {
"type": "object",
"properties": {
"@code": {
"type": "string",
"description": "Item unique identifier."
},
"$": {
"type": "string",
"description": "Item value string."
}
},
"required": [
"@code",
"$"
],
"description": "`Country subdivision, this shall be the province, state or county. Ie: ES-T - Tarragona.`"
},
"country": {
"type": "object",
"properties": {
"@code": {
"type": "string",
"description": "Item unique identifier."
},
"$": {
"type": "string",
"description": "Item value string."
}
},
"required": [
"@code",
"$"
],
"description": "`Ie: ES - Spain.`"
},
"coordinates": {
"type": "string"
}
},
"required": [
"address",
"city",
"postalCode",
"countrySubdivision",
"country"
]
}
},
"required": [
"@id",
"name",
"nif",
"email",
"phoneNumber",
"timeZone"
]
},
"promotor": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Onebox internal unique identifier."
},
"corporateName": {
"type": "string"
},
"fiscalCode": {
"type": "string",
"description": "Tax/Vat unique identifier number."
},
"email": {
"type": "string"
},
"phoneNumber": {
"type": "string"
},
"location": {
"type": "object",
"properties": {
"address": {
"type": "string",
"description": "Venue address where the event will be performed."
},
"city": {
"type": "string",
"description": "City where the event will be performed."
},
"postalCode": {
"type": "string",
"description": "Postal code or zip code where the event will be performed."
},
"countrySubdivision": {
"type": "object",
"properties": {
"@code": {
"type": "string",
"description": "Item unique identifier."
},
"$": {
"type": "string",
"description": "Item value string."
}
},
"required": [
"@code",
"$"
],
"description": "`Country subdivision, this shall be the province, state or county. Ie: ES-T - Tarragona.`"
},
"country": {
"type": "object",
"properties": {
"@code": {
"type": "string",
"description": "Item unique identifier."
},
"$": {
"type": "string",
"description": "Item value string."
}
},
"required": [
"@code",
"$"
],
"description": "`Ie: ES - Spain.`"
},
"coordinates": {
"type": "string"
}
},
"required": [
"address",
"city",
"postalCode",
"countrySubdivision",
"country"
]
}
},
"required": [
"@id",
"corporateName",
"fiscalCode",
"email",
"phoneNumber"
]
},
"tour": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Onebox internal unique identifier."
},
"name": {
"type": "string",
"description": "Tour name."
},
"promotorReference": {
"type": "string",
"description": "Promotor reference."
}
},
"required": [
"@id",
"name",
"promotorReference"
]
},
"severalVenues": {
"type": "boolean",
"description": "Is the event performed in different venues?"
},
"severalLocations": {
"type": "boolean",
"description": "Is the event perfomed in different locations?"
},
"supraEvent": {
"type": "boolean",
"description": "Is the event a sibling from another parent event?"
},
"giftTicket": {
"type": "boolean",
"description": "Has this event free entrance tickets allowed?"
},
"nominal": {
"type": "boolean",
"description": "Has the ticket to indicate the owner name / surname / id details?"
},
"eventType": {
"type": "string",
"enum": [
"EVENT",
"ACTIVITY"
]
},
"attribute-values": {
"type": "array",
"items": {
"type": "object",
"properties": {
"attribute-info": {
"type": "object",
"properties": {
"id": {
"type": "number",
"description": "Unique identifier."
},
"name": {
"type": "string"
},
"selection": {
"type": "string",
"enum": [
"SINGLE",
"MULTIPLE"
]
},
"domain-value-info": {
"type": "array",
"items": {
"type": "object",
"properties": {
"idValue": {
"type": "number",
"description": "Unique identifier."
},
"value": {
"type": "string"
},
"referenceCode": {
"type": "string"
}
},
"required": [
"idValue",
"value",
"referenceCode"
]
}
},
"domain": {
"type": "string",
"enum": [
"EVENT",
"SESSION",
"GROUP",
"PROFILE"
]
},
"valueType": {
"type": "string",
"enum": [
"USER_INPUT_INTEGER",
"USER_INPUT_STRING",
"DOMAIN_VALUE"
]
},
"referenceCode": {
"type": "string"
}
},
"required": [
"id",
"name",
"selection",
"domain-value-info",
"domain",
"valueType",
"referenceCode"
]
},
"attribute-value": {
"type": "array",
"items": {
"type": "object",
"properties": {
"user-input-value": {
"type": "object",
"properties": {},
"description": "Unique identifier."
},
"domain-value": {
"type": "object",
"properties": {
"value": {
"type": "string"
},
"idValue": {
"type": "number"
}
},
"required": [
"value"
],
"description": "Unique identifier."
}
}
}
},
"idAttribute": {
"type": "number"
},
"description": {
"type": "string"
}
},
"required": [
"attribute-info",
"attribute-value"
]
}
},
"passbookPreferences": {
"type": [
"object",
"null"
],
"properties": {
"communication-elements": {
"type": "object",
"properties": {
"@language": {
"type": "string",
"description": "Indicates the language of the communitacion event details."
},
"images": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`Image categorization, ie: LOGO_WEB, IMG_BANNER_WEB, IMG_BODY_WEB.`"
},
"@order": {
"type": "number",
"description": "Indicates just the order/priority in case of same type. This number is unique."
},
"$": {
"type": "string",
"description": "Absolute path to the image file."
}
},
"required": [
"@type",
"@order",
"$"
]
},
"description": "List of related images as banners, logo's, backgrounds..."
},
"videos": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`Video categorization.`"
},
"$": {
"type": "string",
"description": "Absolute path to the video file."
}
},
"required": [
"@type",
"$"
]
},
"description": "List of related images as banners, logo's, backgrounds..."
},
"files": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`File categorization.`"
},
"$": {
"type": "string",
"description": "Absolute path to the file."
}
},
"required": [
"@type",
"$"
]
},
"description": "List of related images as banners, logo's, backgrounds..."
},
"banners": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`Banner categorization, ie: CHANNEL_PURCHASE_HEADER_BANNER, CHANNEL_PURCHASE_BANNER, PROMOTER_PURCHASE_BANNER`"
},
"imageUrl": {
"type": "string",
"description": "Absolute path to the banner image file."
},
"linkUrl": {
"type": "string",
"description": "Direct link to the promotional site just in case."
}
},
"required": [
"@type",
"imageUrl"
]
},
"description": "List of related banners to put into a website, pdf, ticket..."
}
},
"required": [
"@language"
]
},
"textColor": {
"type": "string"
},
"labelColor": {
"type": "string"
},
"backgroundColor": {
"type": "string"
}
}
},
"clientEventDiscount": {
"type": "object",
"properties": {
"discountType": {
"type": "string",
"enum": [
"AMOUNT",
"PERCENT"
]
},
"discount": {
"type": "number"
}
},
"required": [
"discountType"
]
},
"sessions-search-info": {
"type": "object",
"properties": {
"session-search-info": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "`Onebox session/performance unique identifier.`"
},
"internalName": {
"type": "string",
"description": "Product internal description name."
},
"name": {
"type": "string",
"description": "Public product name depending on the language requestd."
},
"description": {
"type": "string",
"description": "Session description"
},
"dates": {
"type": "object",
"properties": {
"datetime": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"enum": [
"EVENT_BEGIN",
"EVENT_END",
"SESSION_BEGIN",
"SESSION_END",
"SESSION_SALES_BEGIN",
"SESSION_SALES_END",
"PRODUCT_SALES",
"PRODUCT_SALES_END",
"SESSION_PUBLISHED",
"PROMOTION_BEGIN",
"PROMOTION_END",
"SEASON_TICKET_HOLDER_BEGIN",
"SEASON_TICKET_HOLDER_END"
],
"description": "Define the date meaning possibilites."
},
"@pendingConfirmation": {
"type": "boolean",
"description": "Says whether the date is finally commited or not."
},
"@timeZoneId": {
"type": "string",
"description": "Define the time zone worldwide from UTC."
},
"$": {
"type": "string",
"description": "XmlGregorianCalendar representation of the given date."
}
}
}
}
}
},
"venue": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Onebox internal venue unique identifier."
},
"@name": {
"type": "string",
"description": "Public venue name."
},
"@timeZone": {
"type": "string",
"description": "Define the time zone worldwide from UTC."
},
"communication-elements": {
"type": "object",
"properties": {
"@language": {
"type": "string",
"description": "Indicates the language of the communitacion event details."
},
"images": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`Image categorization, ie: LOGO_WEB, IMG_BANNER_WEB, IMG_BODY_WEB.`"
},
"@order": {
"type": "number",
"description": "Indicates just the order/priority in case of same type. This number is unique."
},
"$": {
"type": "string",
"description": "Absolute path to the image file."
}
},
"required": [
"@type",
"@order",
"$"
]
},
"description": "List of related images as banners, logo's, backgrounds..."
},
"videos": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`Video categorization.`"
},
"$": {
"type": "string",
"description": "Absolute path to the video file."
}
},
"required": [
"@type",
"$"
]
},
"description": "List of related images as banners, logo's, backgrounds..."
},
"files": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`File categorization.`"
},
"$": {
"type": "string",
"description": "Absolute path to the file."
}
},
"required": [
"@type",
"$"
]
},
"description": "List of related images as banners, logo's, backgrounds..."
},
"banners": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`Banner categorization, ie: CHANNEL_PURCHASE_HEADER_BANNER, CHANNEL_PURCHASE_BANNER, PROMOTER_PURCHASE_BANNER`"
},
"imageUrl": {
"type": "string",
"description": "Absolute path to the banner image file."
},
"linkUrl": {
"type": "string",
"description": "Direct link to the promotional site just in case."
}
},
"required": [
"@type",
"imageUrl"
]
},
"description": "List of related banners to put into a website, pdf, ticket..."
}
},
"required": [
"@language"
]
},
"location": {
"type": "object",
"properties": {
"address": {
"type": "string",
"description": "Venue address where the event will be performed."
},
"city": {
"type": "string",
"description": "City where the event will be performed."
},
"postalCode": {
"type": "string",
"description": "Postal code or zip code where the event will be performed."
},
"countrySubdivision": {
"type": "object",
"properties": {
"@code": {
"type": "string",
"description": "Item unique identifier."
},
"$": {
"type": "string",
"description": "Item value string."
}
},
"required": [
"@code",
"$"
],
"description": "`Country subdivision, this shall be the province, state or county. Ie: ES-T - Tarragona.`"
},
"country": {
"type": "object",
"properties": {
"@code": {
"type": "string",
"description": "Item unique identifier."
},
"$": {
"type": "string",
"description": "Item value string."
}
},
"required": [
"@code",
"$"
],
"description": "`Ie: ES - Spain.`"
},
"coordinates": {
"type": "string"
}
},
"required": [
"address",
"city",
"postalCode",
"countrySubdivision",
"country"
]
}
},
"required": [
"@id",
"@name"
]
},
"space": {
"type": "object",
"properties": {
"id": {
"type": "number",
"description": "Unique space identifier."
},
"name": {
"type": "string",
"description": "Space name."
}
}
},
"event-basic-info": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique identifier for each event/activity product."
},
"internalName": {
"type": "string",
"description": "Product internal description name."
},
"externalReferenceCode": {
"type": "string",
"description": "In case of product from 3rd party suppliers, those came with its own reference."
},
"title": {
"type": "string",
"description": "Event main title"
},
"subtitle": {
"type": "string",
"description": "Event secondary title"
},
"shortDescription": {
"type": "string",
"description": "Event short description"
},
"longDescription": {
"type": "string",
"description": "Event detailed description"
},
"additionalEventData": {
"type": "string"
},
"duration": {
"type": "string"
},
"communication-elements": {
"type": "object",
"properties": {
"@language": {
"type": "string",
"description": "Indicates the language of the communitacion event details."
},
"images": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`Image categorization, ie: LOGO_WEB, IMG_BANNER_WEB, IMG_BODY_WEB.`"
},
"@order": {
"type": "number",
"description": "Indicates just the order/priority in case of same type. This number is unique."
},
"$": {
"type": "string",
"description": "Absolute path to the image file."
}
},
"required": [
"@type",
"@order",
"$"
]
},
"description": "List of related images as banners, logo's, backgrounds..."
},
"videos": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`Video categorization.`"
},
"$": {
"type": "string",
"description": "Absolute path to the video file."
}
},
"required": [
"@type",
"$"
]
},
"description": "List of related images as banners, logo's, backgrounds..."
},
"files": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`File categorization.`"
},
"$": {
"type": "string",
"description": "Absolute path to the file."
}
},
"required": [
"@type",
"$"
]
},
"description": "List of related images as banners, logo's, backgrounds..."
},
"banners": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`Banner categorization, ie: CHANNEL_PURCHASE_HEADER_BANNER, CHANNEL_PURCHASE_BANNER, PROMOTER_PURCHASE_BANNER`"
},
"imageUrl": {
"type": "string",
"description": "Absolute path to the banner image file."
},
"linkUrl": {
"type": "string",
"description": "Direct link to the promotional site just in case."
}
},
"required": [
"@type",
"imageUrl"
]
},
"description": "List of related banners to put into a website, pdf, ticket..."
}
},
"required": [
"@language"
]
},
"taxonomy": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique identifier of this product segmentation."
},
"code": {
"type": "string",
"description": "Unique identifier fo this product segmentation to be used in th API."
},
"description": {
"type": "string",
"description": "Short description to better understand the taxonomy segmentation."
},
"superior-taxonomy": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique identifier of this product segmentation."
},
"code": {
"type": "string",
"description": "Unique identifier fo this product segmentation to be used in th API."
},
"description": {
"type": "string",
"description": "Short description to better understand the taxonomy segmentation."
}
},
"required": [
"@id",
"code"
]
}
},
"required": [
"@id",
"code"
]
},
"custom-taxonomy": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique identifier of this product segmentation."
},
"code": {
"type": "string",
"description": "Unique identifier fo this product segmentation to be used in th API."
},
"description": {
"type": "string",
"description": "Short description to better understand the taxonomy segmentation."
}
},
"required": [
"@id",
"code"
]
},
"promoter-custom-taxonomy": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique identifier of this product segmentation."
},
"code": {
"type": "string",
"description": "Unique identifier fo this product segmentation to be used in th API."
},
"description": {
"type": "string",
"description": "Short description to better understand the taxonomy segmentation."
}
},
"required": [
"@id",
"code"
]
},
"languages": {
"type": "object",
"properties": {
"language": {
"type": "array",
"items": [
{},
{
"type": "string",
"enum": [
"ca_ES",
"es_ES",
"en_US",
"fr_FR",
"it_IT",
"de_DE"
]
}
],
"description": "`List of the available languages for the event descriptions.`"
}
}
},
"dates": {
"type": "object",
"properties": {
"datetime": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"enum": [
"EVENT_BEGIN",
"EVENT_END",
"SESSION_BEGIN",
"SESSION_END",
"SESSION_SALES_BEGIN",
"SESSION_SALES_END",
"PRODUCT_SALES",
"PRODUCT_SALES_END",
"SESSION_PUBLISHED",
"PROMOTION_BEGIN",
"PROMOTION_END",
"SEASON_TICKET_HOLDER_BEGIN",
"SEASON_TICKET_HOLDER_END"
],
"description": "Define the date meaning possibilites."
},
"@pendingConfirmation": {
"type": "boolean",
"description": "Says whether the date is finally commited or not."
},
"@timeZoneId": {
"type": "string",
"description": "Define the time zone worldwide from UTC."
},
"$": {
"type": "string",
"description": "XmlGregorianCalendar representation of the given date."
}
}
}
}
}
},
"entidad": {
"type": "object",
"properties": {
"@id": {
"type": "number"
},
"name": {
"type": "string",
"description": "Promotor/Organizer company name."
},
"nif": {
"type": "string",
"description": "Tax/Vat unique identifier number."
},
"email": {
"type": "string"
},
"phoneNumber": {
"type": "string"
},
"timeZone": {
"type": "string"
},
"location": {
"type": "object",
"properties": {
"address": {
"type": "string",
"description": "Venue address where the event will be performed."
},
"city": {
"type": "string",
"description": "City where the event will be performed."
},
"postalCode": {
"type": "string",
"description": "Postal code or zip code where the event will be performed."
},
"countrySubdivision": {
"type": "object",
"properties": {
"@code": {
"type": "string",
"description": "Item unique identifier."
},
"$": {
"type": "string",
"description": "Item value string."
}
},
"required": [
"@code",
"$"
],
"description": "`Country subdivision, this shall be the province, state or county. Ie: ES-T - Tarragona.`"
},
"country": {
"type": "object",
"properties": {
"@code": {
"type": "string",
"description": "Item unique identifier."
},
"$": {
"type": "string",
"description": "Item value string."
}
},
"required": [
"@code",
"$"
],
"description": "`Ie: ES - Spain.`"
},
"coordinates": {
"type": "string"
}
},
"required": [
"address",
"city",
"postalCode",
"countrySubdivision",
"country"
]
}
},
"required": [
"@id",
"name",
"nif",
"email",
"phoneNumber",
"timeZone"
]
},
"promotor": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Onebox internal unique identifier."
},
"corporateName": {
"type": "string"
},
"fiscalCode": {
"type": "string",
"description": "Tax/Vat unique identifier number."
},
"email": {
"type": "string"
},
"phoneNumber": {
"type": "string"
},
"location": {
"type": "object",
"properties": {
"address": {
"type": "string",
"description": "Venue address where the event will be performed."
},
"city": {
"type": "string",
"description": "City where the event will be performed."
},
"postalCode": {
"type": "string",
"description": "Postal code or zip code where the event will be performed."
},
"countrySubdivision": {
"type": "object",
"properties": {
"@code": {
"type": "string",
"description": "Item unique identifier."
},
"$": {
"type": "string",
"description": "Item value string."
}
},
"required": [
"@code",
"$"
],
"description": "`Country subdivision, this shall be the province, state or county. Ie: ES-T - Tarragona.`"
},
"country": {
"type": "object",
"properties": {
"@code": {
"type": "string",
"description": "Item unique identifier."
},
"$": {
"type": "string",
"description": "Item value string."
}
},
"required": [
"@code",
"$"
],
"description": "`Ie: ES - Spain.`"
},
"coordinates": {
"type": "string"
}
},
"required": [
"address",
"city",
"postalCode",
"countrySubdivision",
"country"
]
}
},
"required": [
"@id",
"corporateName",
"fiscalCode",
"email",
"phoneNumber"
]
},
"tour": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Onebox internal unique identifier."
},
"name": {
"type": "string",
"description": "Tour name."
},
"promotorReference": {
"type": "string",
"description": "Promotor reference."
}
},
"required": [
"@id",
"name",
"promotorReference"
]
},
"severalVenues": {
"type": "boolean",
"description": "Is the event performed in different venues?"
},
"severalLocations": {
"type": "boolean",
"description": "Is the event perfomed in different locations?"
},
"supraEvent": {
"type": "boolean",
"description": "Is the event a sibling from another parent event?"
},
"giftTicket": {
"type": "boolean",
"description": "Has this event free entrance tickets allowed?"
},
"nominal": {
"type": "boolean",
"description": "Has the ticket to indicate the owner name / surname / id details?"
},
"eventType": {
"type": "string",
"enum": [
"EVENT",
"ACTIVITY"
]
},
"attribute-values": {
"type": "array",
"items": {
"type": "object",
"properties": {
"attribute-info": {
"type": "object",
"properties": {
"id": {
"type": "number",
"description": "Unique identifier."
},
"name": {
"type": "string"
},
"selection": {
"type": "string",
"enum": [
"SINGLE",
"MULTIPLE"
]
},
"domain-value-info": {
"type": "array",
"items": {
"type": "object",
"properties": {
"idValue": {
"type": "number",
"description": "Unique identifier."
},
"value": {
"type": "string"
},
"referenceCode": {
"type": "string"
}
},
"required": [
"idValue",
"value",
"referenceCode"
]
}
},
"domain": {
"type": "string",
"enum": [
"EVENT",
"SESSION",
"GROUP",
"PROFILE"
]
},
"valueType": {
"type": "string",
"enum": [
"USER_INPUT_INTEGER",
"USER_INPUT_STRING",
"DOMAIN_VALUE"
]
},
"referenceCode": {
"type": "string"
}
},
"required": [
"id",
"name",
"selection",
"domain-value-info",
"domain",
"valueType",
"referenceCode"
]
},
"attribute-value": {
"type": "array",
"items": {
"type": "object",
"properties": {
"user-input-value": {
"type": "object",
"properties": {},
"description": "Unique identifier."
},
"domain-value": {
"type": "object",
"properties": {
"value": {
"type": "string"
},
"idValue": {
"type": "number"
}
},
"required": [
"value"
],
"description": "Unique identifier."
}
}
}
},
"idAttribute": {
"type": "number"
},
"description": {
"type": "string"
}
},
"required": [
"attribute-info",
"attribute-value"
]
}
},
"passbookPreferences": {
"type": [
"object",
"null"
],
"properties": {
"communication-elements": {
"type": "object",
"properties": {
"@language": {
"type": "string",
"description": "Indicates the language of the communitacion event details."
},
"images": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`Image categorization, ie: LOGO_WEB, IMG_BANNER_WEB, IMG_BODY_WEB.`"
},
"@order": {
"type": "number",
"description": "Indicates just the order/priority in case of same type. This number is unique."
},
"$": {
"type": "string",
"description": "Absolute path to the image file."
}
},
"required": [
"@type",
"@order",
"$"
]
},
"description": "List of related images as banners, logo's, backgrounds..."
},
"videos": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`Video categorization.`"
},
"$": {
"type": "string",
"description": "Absolute path to the video file."
}
},
"required": [
"@type",
"$"
]
},
"description": "List of related images as banners, logo's, backgrounds..."
},
"files": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`File categorization.`"
},
"$": {
"type": "string",
"description": "Absolute path to the file."
}
},
"required": [
"@type",
"$"
]
},
"description": "List of related images as banners, logo's, backgrounds..."
},
"banners": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`Banner categorization, ie: CHANNEL_PURCHASE_HEADER_BANNER, CHANNEL_PURCHASE_BANNER, PROMOTER_PURCHASE_BANNER`"
},
"imageUrl": {
"type": "string",
"description": "Absolute path to the banner image file."
},
"linkUrl": {
"type": "string",
"description": "Direct link to the promotional site just in case."
}
},
"required": [
"@type",
"imageUrl"
]
},
"description": "List of related banners to put into a website, pdf, ticket..."
}
},
"required": [
"@language"
]
},
"textColor": {
"type": "string"
},
"labelColor": {
"type": "string"
},
"backgroundColor": {
"type": "string"
}
}
},
"clientEventDiscount": {
"type": "object",
"properties": {
"discountType": {
"type": "string",
"enum": [
"AMOUNT",
"PERCENT"
]
},
"discount": {
"type": "number"
}
},
"required": [
"discountType"
]
}
},
"required": [
"@id",
"internalName",
"externalReferenceCode",
"title",
"subtitle",
"shortDescription",
"longDescription",
"additionalEventData",
"duration",
"severalVenues",
"severalLocations",
"supraEvent",
"giftTicket",
"nominal",
"eventType",
"passbookPreferences"
]
},
"forSale": {
"type": "boolean",
"description": "Indicates the event is whether on sale or not."
},
"blockingReasons": {
"type": "string"
},
"hasProducts": {
"type": "boolean",
"description": "For Onebox box office purposes only."
},
"admission": {
"type": "string",
"enum": [
"ALL_AGES_ADMITTED",
"NOT_ADMITTED_UNDER_4",
"NOT_ADMITTED_UNDER_7",
"NOT_ADMITTED_UNDER_8",
"NOT_ADMITTED_UNDER_12",
"NOT_ADMITTED_UNDER_13",
"NOT_ADMITTED_UNDER_14",
"NOT_ADMITTED_UNDER_16",
"NOT_ADMITTED_UNDER_18",
"NOT_ADMITTED_UNDER_21"
],
"description": "Filter the age range to be admitted as an attendant."
},
"supportedEventType": {
"type": "string",
"enum": [
"EVENT",
"ACTIVITY"
]
},
"supportedVisitorType": {
"type": "string",
"enum": [
"INDIVIDUAL",
"GROUP",
"MIXED"
]
},
"attribute-values": {
"type": "array",
"items": {
"type": "object",
"properties": {
"attribute-info": {
"type": "object",
"properties": {
"id": {
"type": "number",
"description": "Unique identifier."
},
"name": {
"type": "string"
},
"selection": {
"type": "string",
"enum": [
"SINGLE",
"MULTIPLE"
]
},
"domain-value-info": {
"type": "array",
"items": {
"type": "object",
"properties": {
"idValue": {
"type": "number",
"description": "Unique identifier."
},
"value": {
"type": "string"
},
"referenceCode": {
"type": "string"
}
},
"required": [
"idValue",
"value",
"referenceCode"
]
}
},
"domain": {
"type": "string",
"enum": [
"EVENT",
"SESSION",
"GROUP",
"PROFILE"
]
},
"valueType": {
"type": "string",
"enum": [
"USER_INPUT_INTEGER",
"USER_INPUT_STRING",
"DOMAIN_VALUE"
]
},
"referenceCode": {
"type": "string"
}
},
"required": [
"id",
"name",
"selection",
"domain-value-info",
"domain",
"valueType",
"referenceCode"
]
},
"attribute-value": {
"type": "array",
"items": {
"type": "object",
"properties": {
"user-input-value": {
"type": "object",
"properties": {},
"description": "Unique identifier."
},
"domain-value": {
"type": "object",
"properties": {
"value": {
"type": "string"
},
"idValue": {
"type": "number"
}
},
"required": [
"value"
],
"description": "Unique identifier."
}
}
}
},
"idAttribute": {
"type": "number"
},
"description": {
"type": "string"
}
},
"required": [
"attribute-info",
"attribute-value"
]
}
},
"visitorGroupConfig": {
"type": "string"
},
"hideSessionDates": {
"type": "boolean",
"description": "For Onebox box office purposes only."
},
"showDate": {
"type": "boolean",
"description": "For Onebox box office purposes only."
},
"showDatetime": {
"type": "boolean",
"description": "For Onebox box office purposes only."
},
"@rates": {
"type": "string",
"description": "Rate description identifier."
},
"season-session-info": {
"type": "object",
"properties": {
"beginDate": {
"type": "string"
},
"endDate": {
"type": "string"
},
"idsSeasonSessions": {
"type": "array"
},
"seasonSessions": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "`Onebox session/performance unique identifier.`"
},
"internalName": {
"type": "string",
"description": "Product internal description name."
},
"name": {
"type": "string",
"description": "Public product name depending on the language requestd."
},
"description": {
"type": "string",
"description": "Session description"
},
"dates": {
"type": "object",
"properties": {
"datetime": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"enum": [
"EVENT_BEGIN",
"EVENT_END",
"SESSION_BEGIN",
"SESSION_END",
"SESSION_SALES_BEGIN",
"SESSION_SALES_END",
"PRODUCT_SALES",
"PRODUCT_SALES_END",
"SESSION_PUBLISHED",
"PROMOTION_BEGIN",
"PROMOTION_END",
"SEASON_TICKET_HOLDER_BEGIN",
"SEASON_TICKET_HOLDER_END"
],
"description": "Define the date meaning possibilites."
},
"@pendingConfirmation": {
"type": "boolean",
"description": "Says whether the date is finally commited or not."
},
"@timeZoneId": {
"type": "string",
"description": "Define the time zone worldwide from UTC."
},
"$": {
"type": "string",
"description": "XmlGregorianCalendar representation of the given date."
}
}
}
}
}
},
"venue": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Onebox internal venue unique identifier."
},
"@name": {
"type": "string",
"description": "Public venue name."
},
"@timeZone": {
"type": "string",
"description": "Define the time zone worldwide from UTC."
},
"communication-elements": {
"type": "object",
"properties": {
"@language": {
"type": "string",
"description": "Indicates the language of the communitacion event details."
},
"images": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`Image categorization, ie: LOGO_WEB, IMG_BANNER_WEB, IMG_BODY_WEB.`"
},
"@order": {
"type": "number",
"description": "Indicates just the order/priority in case of same type. This number is unique."
},
"$": {
"type": "string",
"description": "Absolute path to the image file."
}
},
"required": [
"@type",
"@order",
"$"
]
},
"description": "List of related images as banners, logo's, backgrounds..."
},
"videos": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`Video categorization.`"
},
"$": {
"type": "string",
"description": "Absolute path to the video file."
}
},
"required": [
"@type",
"$"
]
},
"description": "List of related images as banners, logo's, backgrounds..."
},
"files": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`File categorization.`"
},
"$": {
"type": "string",
"description": "Absolute path to the file."
}
},
"required": [
"@type",
"$"
]
},
"description": "List of related images as banners, logo's, backgrounds..."
},
"banners": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`Banner categorization, ie: CHANNEL_PURCHASE_HEADER_BANNER, CHANNEL_PURCHASE_BANNER, PROMOTER_PURCHASE_BANNER`"
},
"imageUrl": {
"type": "string",
"description": "Absolute path to the banner image file."
},
"linkUrl": {
"type": "string",
"description": "Direct link to the promotional site just in case."
}
},
"required": [
"@type",
"imageUrl"
]
},
"description": "List of related banners to put into a website, pdf, ticket..."
}
},
"required": [
"@language"
]
},
"location": {
"type": "object",
"properties": {
"address": {
"type": "string",
"description": "Venue address where the event will be performed."
},
"city": {
"type": "string",
"description": "City where the event will be performed."
},
"postalCode": {
"type": "string",
"description": "Postal code or zip code where the event will be performed."
},
"countrySubdivision": {
"type": "object",
"properties": {
"@code": {
"type": "string",
"description": "Item unique identifier."
},
"$": {
"type": "string",
"description": "Item value string."
}
},
"required": [
"@code",
"$"
],
"description": "`Country subdivision, this shall be the province, state or county. Ie: ES-T - Tarragona.`"
},
"country": {
"type": "object",
"properties": {
"@code": {
"type": "string",
"description": "Item unique identifier."
},
"$": {
"type": "string",
"description": "Item value string."
}
},
"required": [
"@code",
"$"
],
"description": "`Ie: ES - Spain.`"
},
"coordinates": {
"type": "string"
}
},
"required": [
"address",
"city",
"postalCode",
"countrySubdivision",
"country"
]
}
},
"required": [
"@id",
"@name"
]
},
"space": {
"type": "object",
"properties": {
"id": {
"type": "number",
"description": "Unique space identifier."
},
"name": {
"type": "string",
"description": "Space name."
}
}
},
"event-basic-info": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique identifier for each event/activity product."
},
"internalName": {
"type": "string",
"description": "Product internal description name."
},
"externalReferenceCode": {
"type": "string",
"description": "In case of product from 3rd party suppliers, those came with its own reference."
},
"title": {
"type": "string",
"description": "Event main title"
},
"subtitle": {
"type": "string",
"description": "Event secondary title"
},
"shortDescription": {
"type": "string",
"description": "Event short description"
},
"longDescription": {
"type": "string",
"description": "Event detailed description"
},
"additionalEventData": {
"type": "string"
},
"duration": {
"type": "string"
},
"communication-elements": {
"type": "object",
"properties": {
"@language": {
"type": "string",
"description": "Indicates the language of the communitacion event details."
},
"images": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`Image categorization, ie: LOGO_WEB, IMG_BANNER_WEB, IMG_BODY_WEB.`"
},
"@order": {
"type": "number",
"description": "Indicates just the order/priority in case of same type. This number is unique."
},
"$": {
"type": "string",
"description": "Absolute path to the image file."
}
},
"required": [
"@type",
"@order",
"$"
]
},
"description": "List of related images as banners, logo's, backgrounds..."
},
"videos": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`Video categorization.`"
},
"$": {
"type": "string",
"description": "Absolute path to the video file."
}
},
"required": [
"@type",
"$"
]
},
"description": "List of related images as banners, logo's, backgrounds..."
},
"files": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`File categorization.`"
},
"$": {
"type": "string",
"description": "Absolute path to the file."
}
},
"required": [
"@type",
"$"
]
},
"description": "List of related images as banners, logo's, backgrounds..."
},
"banners": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`Banner categorization, ie: CHANNEL_PURCHASE_HEADER_BANNER, CHANNEL_PURCHASE_BANNER, PROMOTER_PURCHASE_BANNER`"
},
"imageUrl": {
"type": "string",
"description": "Absolute path to the banner image file."
},
"linkUrl": {
"type": "string",
"description": "Direct link to the promotional site just in case."
}
},
"required": [
"@type",
"imageUrl"
]
},
"description": "List of related banners to put into a website, pdf, ticket..."
}
},
"required": [
"@language"
]
},
"taxonomy": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique identifier of this product segmentation."
},
"code": {
"type": "string",
"description": "Unique identifier fo this product segmentation to be used in th API."
},
"description": {
"type": "string",
"description": "Short description to better understand the taxonomy segmentation."
},
"superior-taxonomy": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique identifier of this product segmentation."
},
"code": {
"type": "string",
"description": "Unique identifier fo this product segmentation to be used in th API."
},
"description": {
"type": "string",
"description": "Short description to better understand the taxonomy segmentation."
}
},
"required": [
"@id",
"code"
]
}
},
"required": [
"@id",
"code"
]
},
"custom-taxonomy": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique identifier of this product segmentation."
},
"code": {
"type": "string",
"description": "Unique identifier fo this product segmentation to be used in th API."
},
"description": {
"type": "string",
"description": "Short description to better understand the taxonomy segmentation."
}
},
"required": [
"@id",
"code"
]
},
"promoter-custom-taxonomy": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique identifier of this product segmentation."
},
"code": {
"type": "string",
"description": "Unique identifier fo this product segmentation to be used in th API."
},
"description": {
"type": "string",
"description": "Short description to better understand the taxonomy segmentation."
}
},
"required": [
"@id",
"code"
]
},
"languages": {
"type": "object",
"properties": {
"language": {
"type": "array",
"items": [
{},
{
"type": "string",
"enum": [
"ca_ES",
"es_ES",
"en_US",
"fr_FR",
"it_IT",
"de_DE"
]
}
],
"description": "`List of the available languages for the event descriptions.`"
}
}
},
"dates": {
"type": "object",
"properties": {
"datetime": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"enum": [
"EVENT_BEGIN",
"EVENT_END",
"SESSION_BEGIN",
"SESSION_END",
"SESSION_SALES_BEGIN",
"SESSION_SALES_END",
"PRODUCT_SALES",
"PRODUCT_SALES_END",
"SESSION_PUBLISHED",
"PROMOTION_BEGIN",
"PROMOTION_END",
"SEASON_TICKET_HOLDER_BEGIN",
"SEASON_TICKET_HOLDER_END"
],
"description": "Define the date meaning possibilites."
},
"@pendingConfirmation": {
"type": "boolean",
"description": "Says whether the date is finally commited or not."
},
"@timeZoneId": {
"type": "string",
"description": "Define the time zone worldwide from UTC."
},
"$": {
"type": "string",
"description": "XmlGregorianCalendar representation of the given date."
}
}
}
}
}
},
"entidad": {
"type": "object",
"properties": {
"@id": {
"type": "number"
},
"name": {
"type": "string",
"description": "Promotor/Organizer company name."
},
"nif": {
"type": "string",
"description": "Tax/Vat unique identifier number."
},
"email": {
"type": "string"
},
"phoneNumber": {
"type": "string"
},
"timeZone": {
"type": "string"
},
"location": {
"type": "object",
"properties": {
"address": {
"type": "string",
"description": "Venue address where the event will be performed."
},
"city": {
"type": "string",
"description": "City where the event will be performed."
},
"postalCode": {
"type": "string",
"description": "Postal code or zip code where the event will be performed."
},
"countrySubdivision": {
"type": "object",
"properties": {
"@code": {
"type": "string",
"description": "Item unique identifier."
},
"$": {
"type": "string",
"description": "Item value string."
}
},
"required": [
"@code",
"$"
],
"description": "`Country subdivision, this shall be the province, state or county. Ie: ES-T - Tarragona.`"
},
"country": {
"type": "object",
"properties": {
"@code": {
"type": "string",
"description": "Item unique identifier."
},
"$": {
"type": "string",
"description": "Item value string."
}
},
"required": [
"@code",
"$"
],
"description": "`Ie: ES - Spain.`"
},
"coordinates": {
"type": "string"
}
},
"required": [
"address",
"city",
"postalCode",
"countrySubdivision",
"country"
]
}
},
"required": [
"@id",
"name",
"nif",
"email",
"phoneNumber",
"timeZone"
]
},
"promotor": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Onebox internal unique identifier."
},
"corporateName": {
"type": "string"
},
"fiscalCode": {
"type": "string",
"description": "Tax/Vat unique identifier number."
},
"email": {
"type": "string"
},
"phoneNumber": {
"type": "string"
},
"location": {
"type": "object",
"properties": {
"address": {
"type": "string",
"description": "Venue address where the event will be performed."
},
"city": {
"type": "string",
"description": "City where the event will be performed."
},
"postalCode": {
"type": "string",
"description": "Postal code or zip code where the event will be performed."
},
"countrySubdivision": {
"type": "object",
"properties": {
"@code": {
"type": "string",
"description": "Item unique identifier."
},
"$": {
"type": "string",
"description": "Item value string."
}
},
"required": [
"@code",
"$"
],
"description": "`Country subdivision, this shall be the province, state or county. Ie: ES-T - Tarragona.`"
},
"country": {
"type": "object",
"properties": {
"@code": {
"type": "string",
"description": "Item unique identifier."
},
"$": {
"type": "string",
"description": "Item value string."
}
},
"required": [
"@code",
"$"
],
"description": "`Ie: ES - Spain.`"
},
"coordinates": {
"type": "string"
}
},
"required": [
"address",
"city",
"postalCode",
"countrySubdivision",
"country"
]
}
},
"required": [
"@id",
"corporateName",
"fiscalCode",
"email",
"phoneNumber"
]
},
"tour": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Onebox internal unique identifier."
},
"name": {
"type": "string",
"description": "Tour name."
},
"promotorReference": {
"type": "string",
"description": "Promotor reference."
}
},
"required": [
"@id",
"name",
"promotorReference"
]
},
"severalVenues": {
"type": "boolean",
"description": "Is the event performed in different venues?"
},
"severalLocations": {
"type": "boolean",
"description": "Is the event perfomed in different locations?"
},
"supraEvent": {
"type": "boolean",
"description": "Is the event a sibling from another parent event?"
},
"giftTicket": {
"type": "boolean",
"description": "Has this event free entrance tickets allowed?"
},
"nominal": {
"type": "boolean",
"description": "Has the ticket to indicate the owner name / surname / id details?"
},
"eventType": {
"type": "string",
"enum": [
"EVENT",
"ACTIVITY"
]
},
"attribute-values": {
"type": "array",
"items": {
"type": "object",
"properties": {
"attribute-info": {
"type": "object",
"properties": {
"id": {
"type": "number",
"description": "Unique identifier."
},
"name": {
"type": "string"
},
"selection": {
"type": "string",
"enum": [
"SINGLE",
"MULTIPLE"
]
},
"domain-value-info": {
"type": "array",
"items": {
"type": "object",
"properties": {
"idValue": {
"type": "number",
"description": "Unique identifier."
},
"value": {
"type": "string"
},
"referenceCode": {
"type": "string"
}
},
"required": [
"idValue",
"value",
"referenceCode"
]
}
},
"domain": {
"type": "string",
"enum": [
"EVENT",
"SESSION",
"GROUP",
"PROFILE"
]
},
"valueType": {
"type": "string",
"enum": [
"USER_INPUT_INTEGER",
"USER_INPUT_STRING",
"DOMAIN_VALUE"
]
},
"referenceCode": {
"type": "string"
}
},
"required": [
"id",
"name",
"selection",
"domain-value-info",
"domain",
"valueType",
"referenceCode"
]
},
"attribute-value": {
"type": "array",
"items": {
"type": "object",
"properties": {
"user-input-value": {
"type": "object",
"properties": {},
"description": "Unique identifier."
},
"domain-value": {
"type": "object",
"properties": {
"value": {
"type": "string"
},
"idValue": {
"type": "number"
}
},
"required": [
"value"
],
"description": "Unique identifier."
}
}
}
},
"idAttribute": {
"type": "number"
},
"description": {
"type": "string"
}
},
"required": [
"attribute-info",
"attribute-value"
]
}
},
"passbookPreferences": {
"type": [
"object",
"null"
],
"properties": {
"communication-elements": {
"type": "object",
"properties": {
"@language": {
"type": "string",
"description": "Indicates the language of the communitacion event details."
},
"images": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`Image categorization, ie: LOGO_WEB, IMG_BANNER_WEB, IMG_BODY_WEB.`"
},
"@order": {
"type": "number",
"description": "Indicates just the order/priority in case of same type. This number is unique."
},
"$": {
"type": "string",
"description": "Absolute path to the image file."
}
},
"required": [
"@type",
"@order",
"$"
]
},
"description": "List of related images as banners, logo's, backgrounds..."
},
"videos": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`Video categorization.`"
},
"$": {
"type": "string",
"description": "Absolute path to the video file."
}
},
"required": [
"@type",
"$"
]
},
"description": "List of related images as banners, logo's, backgrounds..."
},
"files": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`File categorization.`"
},
"$": {
"type": "string",
"description": "Absolute path to the file."
}
},
"required": [
"@type",
"$"
]
},
"description": "List of related images as banners, logo's, backgrounds..."
},
"banners": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`Banner categorization, ie: CHANNEL_PURCHASE_HEADER_BANNER, CHANNEL_PURCHASE_BANNER, PROMOTER_PURCHASE_BANNER`"
},
"imageUrl": {
"type": "string",
"description": "Absolute path to the banner image file."
},
"linkUrl": {
"type": "string",
"description": "Direct link to the promotional site just in case."
}
},
"required": [
"@type",
"imageUrl"
]
},
"description": "List of related banners to put into a website, pdf, ticket..."
}
},
"required": [
"@language"
]
},
"textColor": {
"type": "string"
},
"labelColor": {
"type": "string"
},
"backgroundColor": {
"type": "string"
}
}
},
"clientEventDiscount": {
"type": "object",
"properties": {
"discountType": {
"type": "string",
"enum": [
"AMOUNT",
"PERCENT"
]
},
"discount": {
"type": "number"
}
},
"required": [
"discountType"
]
}
},
"required": [
"@id",
"internalName",
"externalReferenceCode",
"title",
"subtitle",
"shortDescription",
"longDescription",
"additionalEventData",
"duration",
"severalVenues",
"severalLocations",
"supraEvent",
"giftTicket",
"nominal",
"eventType",
"passbookPreferences"
]
},
"forSale": {
"type": "boolean",
"description": "Indicates the event is whether on sale or not."
},
"blockingReasons": {
"type": "string"
},
"hasProducts": {
"type": "boolean",
"description": "For Onebox box office purposes only."
},
"admission": {
"type": "string",
"enum": [
"ALL_AGES_ADMITTED",
"NOT_ADMITTED_UNDER_4",
"NOT_ADMITTED_UNDER_7",
"NOT_ADMITTED_UNDER_8",
"NOT_ADMITTED_UNDER_12",
"NOT_ADMITTED_UNDER_13",
"NOT_ADMITTED_UNDER_14",
"NOT_ADMITTED_UNDER_16",
"NOT_ADMITTED_UNDER_18",
"NOT_ADMITTED_UNDER_21"
],
"description": "Filter the age range to be admitted as an attendant."
},
"supportedEventType": {
"type": "string",
"enum": [
"EVENT",
"ACTIVITY"
]
},
"supportedVisitorType": {
"type": "string",
"enum": [
"INDIVIDUAL",
"GROUP",
"MIXED"
]
},
"attribute-values": {
"type": "array",
"items": {
"type": "object",
"properties": {
"attribute-info": {
"type": "object",
"properties": {
"id": {
"type": "number",
"description": "Unique identifier."
},
"name": {
"type": "string"
},
"selection": {
"type": "string",
"enum": [
"SINGLE",
"MULTIPLE"
]
},
"domain-value-info": {
"type": "array",
"items": {
"type": "object",
"properties": {
"idValue": {
"type": "number",
"description": "Unique identifier."
},
"value": {
"type": "string"
},
"referenceCode": {
"type": "string"
}
},
"required": [
"idValue",
"value",
"referenceCode"
]
}
},
"domain": {
"type": "string",
"enum": [
"EVENT",
"SESSION",
"GROUP",
"PROFILE"
]
},
"valueType": {
"type": "string",
"enum": [
"USER_INPUT_INTEGER",
"USER_INPUT_STRING",
"DOMAIN_VALUE"
]
},
"referenceCode": {
"type": "string"
}
},
"required": [
"id",
"name",
"selection",
"domain-value-info",
"domain",
"valueType",
"referenceCode"
]
},
"attribute-value": {
"type": "array",
"items": {
"type": "object",
"properties": {
"user-input-value": {
"type": "object",
"properties": {},
"description": "Unique identifier."
},
"domain-value": {
"type": "object",
"properties": {
"value": {
"type": "string"
},
"idValue": {
"type": "number"
}
},
"required": [
"value"
],
"description": "Unique identifier."
}
}
}
},
"idAttribute": {
"type": "number"
},
"description": {
"type": "string"
}
},
"required": [
"attribute-info",
"attribute-value"
]
}
},
"visitorGroupConfig": {
"type": "string"
},
"hideSessionDates": {
"type": "boolean",
"description": "For Onebox box office purposes only."
},
"showDate": {
"type": "boolean",
"description": "For Onebox box office purposes only."
},
"showDatetime": {
"type": "boolean",
"description": "For Onebox box office purposes only."
},
"@rates": {
"type": "string",
"description": "Rate description identifier."
},
"season-session-info": {
"type": "object",
"properties": {},
"description": "Avoided loop. Object just like your ancestor 'season-session-info'"
}
},
"required": [
"@id",
"internalName",
"name",
"description",
"venue",
"space",
"event-basic-info",
"blockingReasons",
"admission",
"supportedEventType",
"supportedVisitorType",
"hideSessionDates",
"showDate",
"showDatetime",
"@rates",
"season-session-info"
]
},
"@isSeasonSession": {
"type": "number",
"description": "Unique season session identifier."
}
},
"required": [
"seasonSessions",
"@isSeasonSession"
]
},
"availability-info": {
"type": "object",
"properties": {
"total": {
"type": "number",
"description": "Total venue capacity."
},
"available": {
"type": "number",
"description": "Available seats to be reserved."
},
"blockedAvailability": {
"type": "object",
"properties": {
"blockingReasonsAvailability": {
"type": "object",
"properties": {
"blockingReasonAvailability": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique blocking reason availability identifier."
},
"value": {
"type": "number"
}
},
"required": [
"@id"
]
}
}
},
"required": [
"blockingReasonAvailability"
]
}
},
"required": [
"blockingReasonsAvailability"
]
}
},
"required": [
"blockedAvailability"
]
},
"sessionMinPrice": {
"type": "object",
"properties": {
"price": {
"type": "number"
},
"charges": {
"type": "object",
"properties": {
"charge": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"enum": [
"CHANNEL_CHARGE",
"PROMOTER_CHARGE",
"PROMOTER_CHANNEL_CHARGE"
]
},
"value 1.5": {
"type": "number",
"description": "Value of the charge."
}
},
"required": [
"value 1.5"
]
}
}
},
"required": [
"charge"
]
}
},
"required": [
"price"
]
},
"sessionMaxPrice": {
"type": "object",
"properties": {
"price": {
"type": "number"
},
"charges": {
"type": "object",
"properties": {
"charge": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"enum": [
"CHANNEL_CHARGE",
"PROMOTER_CHARGE",
"PROMOTER_CHANNEL_CHARGE"
]
},
"value 1.5": {
"type": "number",
"description": "Value of the charge."
}
},
"required": [
"value 1.5"
]
}
}
},
"required": [
"charge"
]
}
},
"required": [
"price"
]
},
"price-zones-availability": {
"type": "object",
"properties": {
"priceZoneAvailability": {
"type": "array",
"items": {
"type": "object",
"properties": {
"originalBasePrice": {
"type": "number",
"description": "PVP public price."
},
"originalBasePriceCharges": {
"type": "object",
"properties": {
"charge": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"enum": [
"CHANNEL_CHARGE",
"PROMOTER_CHARGE",
"PROMOTER_CHANNEL_CHARGE"
]
},
"value 1.5": {
"type": "number",
"description": "Value of the charge."
}
},
"required": [
"value 1.5"
]
}
}
},
"required": [
"charge"
]
},
"automatic-promotion": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique identifier."
},
"promotionComElements": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"description": {
"type": "string"
}
}
},
"type": {
"type": "string",
"enum": [
"PERCENTAGE",
"FIXED",
"UNDEFINED"
]
},
"value": {
"type": "number"
},
"priceZonesIds": {
"type": "object",
"properties": {
"priceZonesId": {
"type": "array"
}
}
},
"group": {
"type": "object",
"properties": {
"i@d": {
"type": "number",
"description": "Unique identifier."
},
"name": {
"type": "string"
},
"validationType": {
"type": "string",
"enum": [
"NONE",
"VENUE",
"INTERNAL",
"CHANNEL"
]
},
"validationMethod": {
"type": "string",
"enum": [
"PROMOTIONAL_CODE",
"USER",
"USER_PASSWORD",
"CREDIT_CARD",
"GIFT_TICKET"
]
}
},
"required": [
"i@d",
"validationType",
"validationMethod"
]
},
"limitedUses": {
"type": "boolean",
"description": "Default false"
}
},
"required": [
"@id",
"type",
"value"
]
},
"promotedPrice": {
"type": "number",
"description": "PVP promoted price just in case there is any promotion applied, otherwise this price will be always the same as originalBasePrice."
},
"promotedPriceCharges": {
"type": "object",
"properties": {
"charge": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"enum": [
"CHANNEL_CHARGE",
"PROMOTER_CHARGE",
"PROMOTER_CHANNEL_CHARGE"
]
},
"value 1.5": {
"type": "number",
"description": "Value of the charge."
}
},
"required": [
"value 1.5"
]
}
}
},
"required": [
"charge"
],
"description": "º"
},
"@id": {
"type": "number",
"description": "Unique identifier."
},
"name": {
"type": "string",
"description": "Description name."
},
"code": {
"type": "string",
"description": "Price zone availability code."
},
"color": {
"type": "string",
"description": "For Onebox internal use only."
},
"availability-info": {
"type": "object",
"properties": {
"total": {
"type": "number",
"description": "Total venue capacity."
},
"available": {
"type": "number",
"description": "Available seats to be reserved."
},
"blockedAvailability": {
"type": "object",
"properties": {
"blockingReasonsAvailability": {
"type": "object",
"properties": {
"blockingReasonAvailability": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique blocking reason availability identifier."
},
"value": {
"type": "number"
}
},
"required": [
"@id"
]
}
}
},
"required": [
"blockingReasonAvailability"
]
}
},
"required": [
"blockingReasonsAvailability"
]
}
},
"required": [
"blockedAvailability"
]
},
"sector-availability": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique identifier."
},
"availability-info": {
"type": "object",
"properties": {
"total": {
"type": "number",
"description": "Total venue capacity."
},
"available": {
"type": "number",
"description": "Available seats to be reserved."
},
"blockedAvailability": {
"type": "object",
"properties": {
"blockingReasonsAvailability": {
"type": "object",
"properties": {
"blockingReasonAvailability": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique blocking reason availability identifier."
},
"value": {
"type": "number"
}
},
"required": [
"@id"
]
}
}
},
"required": [
"blockingReasonAvailability"
]
}
},
"required": [
"blockingReasonsAvailability"
]
}
},
"required": [
"blockedAvailability"
]
}
},
"required": [
"@id",
"availability-info"
]
}
}
},
"required": [
"originalBasePrice",
"originalBasePriceCharges",
"@id",
"name",
"sector-availability"
]
}
}
},
"required": [
"priceZoneAvailability"
]
},
"activity-ticket-types-availability": {
"type": "object",
"properties": {
"activity-ticket-type-availability": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique identifier."
},
"name": {
"type": "string",
"description": "Description name."
},
"code": {
"type": "string",
"description": "Product availability code."
},
"individualPrice": {
"type": "object",
"properties": {
"originalBasePrice": {
"type": "number",
"description": "PVP public price."
},
"originalBasePriceCharges": {
"type": "object",
"properties": {
"charge": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"enum": [
"CHANNEL_CHARGE",
"PROMOTER_CHARGE",
"PROMOTER_CHANNEL_CHARGE"
]
},
"value 1.5": {
"type": "number",
"description": "Value of the charge."
}
},
"required": [
"value 1.5"
]
}
}
},
"required": [
"charge"
]
},
"automatic-promotion": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique identifier."
},
"promotionComElements": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"description": {
"type": "string"
}
}
},
"type": {
"type": "string",
"enum": [
"PERCENTAGE",
"FIXED",
"UNDEFINED"
]
},
"value": {
"type": "number"
},
"priceZonesIds": {
"type": "object",
"properties": {
"priceZonesId": {
"type": "array"
}
}
},
"group": {
"type": "object",
"properties": {
"i@d": {
"type": "number",
"description": "Unique identifier."
},
"name": {
"type": "string"
},
"validationType": {
"type": "string",
"enum": [
"NONE",
"VENUE",
"INTERNAL",
"CHANNEL"
]
},
"validationMethod": {
"type": "string",
"enum": [
"PROMOTIONAL_CODE",
"USER",
"USER_PASSWORD",
"CREDIT_CARD",
"GIFT_TICKET"
]
}
},
"required": [
"i@d",
"validationType",
"validationMethod"
]
},
"limitedUses": {
"type": "boolean",
"description": "Default false"
}
},
"required": [
"@id",
"type",
"value"
]
},
"promotedPrice": {
"type": "number",
"description": "PVP promoted price just in case there is any promotion applied, otherwise this price will be always the same as originalBasePrice."
},
"promotedPriceCharges": {
"type": "object",
"properties": {
"charge": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"enum": [
"CHANNEL_CHARGE",
"PROMOTER_CHARGE",
"PROMOTER_CHANNEL_CHARGE"
]
},
"value 1.5": {
"type": "number",
"description": "Value of the charge."
}
},
"required": [
"value 1.5"
]
}
}
},
"required": [
"charge"
],
"description": "º"
}
},
"required": [
"originalBasePrice",
"originalBasePriceCharges"
]
},
"visitorGroupPrice": {
"type": "object",
"properties": {
"originalBasePrice": {
"type": "number",
"description": "PVP public price."
},
"originalBasePriceCharges": {
"type": "object",
"properties": {
"charge": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"enum": [
"CHANNEL_CHARGE",
"PROMOTER_CHARGE",
"PROMOTER_CHANNEL_CHARGE"
]
},
"value 1.5": {
"type": "number",
"description": "Value of the charge."
}
},
"required": [
"value 1.5"
]
}
}
},
"required": [
"charge"
]
},
"automatic-promotion": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique identifier."
},
"promotionComElements": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"description": {
"type": "string"
}
}
},
"type": {
"type": "string",
"enum": [
"PERCENTAGE",
"FIXED",
"UNDEFINED"
]
},
"value": {
"type": "number"
},
"priceZonesIds": {
"type": "object",
"properties": {
"priceZonesId": {
"type": "array"
}
}
},
"group": {
"type": "object",
"properties": {
"i@d": {
"type": "number",
"description": "Unique identifier."
},
"name": {
"type": "string"
},
"validationType": {
"type": "string",
"enum": [
"NONE",
"VENUE",
"INTERNAL",
"CHANNEL"
]
},
"validationMethod": {
"type": "string",
"enum": [
"PROMOTIONAL_CODE",
"USER",
"USER_PASSWORD",
"CREDIT_CARD",
"GIFT_TICKET"
]
}
},
"required": [
"i@d",
"validationType",
"validationMethod"
]
},
"limitedUses": {
"type": "boolean",
"description": "Default false"
}
},
"required": [
"@id",
"type",
"value"
]
},
"promotedPrice": {
"type": "number",
"description": "PVP promoted price just in case there is any promotion applied, otherwise this price will be always the same as originalBasePrice."
},
"promotedPriceCharges": {
"type": "object",
"properties": {
"charge": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"enum": [
"CHANNEL_CHARGE",
"PROMOTER_CHARGE",
"PROMOTER_CHANNEL_CHARGE"
]
},
"value 1.5": {
"type": "number",
"description": "Value of the charge."
}
},
"required": [
"value 1.5"
]
}
}
},
"required": [
"charge"
],
"description": "º"
}
},
"required": [
"originalBasePrice",
"originalBasePriceCharges"
]
},
"visitorGroupPricingType": {
"type": "string",
"enum": [
"PER_GROUP",
"PER_ASSISTANT"
]
},
"color": {
"type": "string",
"description": "For Onebox internal use only."
},
"availability-info": {
"type": [
"object",
"null"
],
"properties": {
"total": {
"type": "number",
"description": "Total venue capacity."
},
"available": {
"type": "number",
"description": "Available seats to be reserved."
},
"blockedAvailability": {
"type": "object",
"properties": {
"blockingReasonsAvailability": {
"type": "object",
"properties": {
"blockingReasonAvailability": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique blocking reason availability identifier."
},
"value": {
"type": "number"
}
},
"required": [
"@id"
]
}
}
},
"required": [
"blockingReasonAvailability"
]
}
},
"required": [
"blockingReasonsAvailability"
]
}
},
"required": [
"blockedAvailability"
]
},
"sector-availability": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique identifier."
},
"availability-info": {
"type": "object",
"properties": {
"total": {
"type": "number",
"description": "Total venue capacity."
},
"available": {
"type": "number",
"description": "Available seats to be reserved."
},
"blockedAvailability": {
"type": "object",
"properties": {
"blockingReasonsAvailability": {
"type": "object",
"properties": {
"blockingReasonAvailability": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique blocking reason availability identifier."
},
"value": {
"type": "number"
}
},
"required": [
"@id"
]
}
}
},
"required": [
"blockingReasonAvailability"
]
}
},
"required": [
"blockingReasonsAvailability"
]
}
},
"required": [
"blockedAvailability"
]
}
},
"required": [
"@id",
"availability-info"
]
}
}
},
"required": [
"@id",
"name",
"individualPrice",
"visitorGroupPrice",
"visitorGroupPricingType",
"sector-availability"
]
}
}
},
"required": [
"activity-ticket-type-availability"
]
},
"sector": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique identifier."
},
"sectorName": {
"type": "string",
"description": "Sector name."
}
},
"required": [
"@id",
"sectorName"
]
}
},
"visitorGroupAvailability": {
"type": [
"object",
"null"
],
"properties": {
"totalVisitorGroups": {
"type": "number",
"description": "For Onebox internal use only."
},
"availableVisitorGroups": {
"type": "number",
"description": "For Onebox internal use only."
}
}
}
},
"required": [
"@id",
"internalName",
"name",
"description",
"venue",
"space",
"event-basic-info",
"blockingReasons",
"admission",
"supportedEventType",
"supportedVisitorType",
"hideSessionDates",
"showDate",
"showDatetime",
"@rates",
"season-session-info",
"sector"
]
}
}
}
},
"eventMinPrice": {
"type": "object",
"properties": {
"price": {
"type": "number"
},
"charges": {
"type": "object",
"properties": {
"charge": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"enum": [
"CHANNEL_CHARGE",
"PROMOTER_CHARGE",
"PROMOTER_CHANNEL_CHARGE"
]
},
"value 1.5": {
"type": "number",
"description": "Value of the charge."
}
},
"required": [
"value 1.5"
]
}
}
},
"required": [
"charge"
]
}
},
"required": [
"price"
]
},
"eventMaxPrice": {
"type": "object",
"properties": {
"price": {
"type": "number"
},
"charges": {
"type": "object",
"properties": {
"charge": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"enum": [
"CHANNEL_CHARGE",
"PROMOTER_CHARGE",
"PROMOTER_CHANNEL_CHARGE"
]
},
"value 1.5": {
"type": "number",
"description": "Value of the charge."
}
},
"required": [
"value 1.5"
]
}
}
},
"required": [
"charge"
]
}
},
"required": [
"price"
]
}
},
"required": [
"@id",
"internalName",
"externalReferenceCode",
"title",
"subtitle",
"shortDescription",
"longDescription",
"additionalEventData",
"duration",
"severalVenues",
"severalLocations",
"supraEvent",
"giftTicket",
"nominal",
"eventType",
"passbookPreferences"
]
},
"description": "List of events/activities products."
}
}
}Headers
Content-Type: application/json;charset=UTF-8Body
{
"error": "Bad request",
"error_description": "There was a syntax error, check your params request and try it again."
}Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"error": {
"type": "string",
"description": "Short http error code description"
},
"error_description": {
"type": "string",
"description": "Detailed description of the error returned."
}
},
"required": [
"error",
"error_description"
]
}Headers
Content-Type: application/json;charset=UTF-8Body
{
"error": "Unauthorized",
"error_description": "Full authentication is required to access this resource"
}Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"error": {
"type": "string",
"description": "Short http error code description."
},
"error_description": {
"type": "string",
"description": "Detailed description of the error returned."
}
},
"required": [
"error",
"error_description"
]
}Headers
Content-Type: application/json;charset=UTF-8Body
{
"statusCode": 1010,
"responseTime": "08-03-2017 13:46:03.657"
}Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"statusCode": {
"type": "number",
"description": "This is the Onebox error codes. Get the full list here: [go to Onebox error responses](http://developer.oneboxtickets.com/httpresponsecodes.html)"
},
"responseTime": {
"type": "string"
}
},
"required": [
"statusCode",
"responseTime"
]
}Get product catalogueGET/events/search{?eventType,startDate,endDate,venueId}
Use this service to search for events and activities with active performances available from providers linked to your on sale distribution channel.
- eventType
string(optional) Example: EVENTChoices:
EVENTACTIVITY- startDate
string(optional) Example: 2015-09-01T12:00:00+01:00- endDate
string(optional) Example: 2015-10-01T12:00:00+01:00- venueId
string(optional)Filter events with active sessions/performances by the given venue id.
Events ¶
Headers
Authorization: Bearer [ACCESS_TOKEN]
Content-Type: application/json
Accept: application/json- Headers
traceID:
String: Unique id to identify the transaction within the Onebox API audit systemOB_Error_Code:Number: This is the Onebox error codes. Get the full list here: [go to Onebox error responses](http://developer.oneboxtickets.com/httpresponsecodes.html)
Headers
Content-Type: application/json;charset=UTF-8Body
{
"@id": 23454,
"internalName": "7 days 1 park",
"externalReferenceCode": "EXT-123",
"title": "Theme Park",
"subtitle": "¡Discover the 6 worlds adrenaline!",
"shortDescription": "<P ALIGN=\\\"LEFT\\\">Six amazing worlds in just one Park, perfect for having fun in family and frends as well.</P>",
"longDescription": "<P ALIGN=\\\"LEFT\\\">Explore a whole world of fun and know our amazing theme parks. An ideal destination for a family getaway, located in one of the best tourist areas of Spain and just an hour from Barcelona! </ P> <BR/> <P ALIGN = \\ \"LEFT \\\"> The best entertainment, relaxation, gastronomy and shopping you can imagine. > A DESTINY AND SIX WORLDS TO DISCOVER </ P> <P ALIGN = \\ \"LEFT \\\"> Here begins a journey that takes you much further than you can imagine. At the Park we look forward to six fascinating worlds completely different, with a careful decoration to the last detail, so that you enjoy to the maximum. Emotions for all tastes. Families, friends, big and small: in our theme park, all the fun.</P>",
"additionalEventData": "",
"duration": "",
"communication-elements": {
"@language": "en_US",
"images": [
{
"@type": "LOGO_WEB",
"@order": 1,
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"videos": [
{
"@type": "VIDEO",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"files": [
{
"@type": "FILE",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"banners": [
{
"@type": "CHANNEL_PURCHASE_HEADER_BANNER",
"imageUrl": "https://s3.amazonaws.com/onebox-repository/pro/1/1/itemIdioma/1741/1_image_1340695930723.jpg",
"linkUrl": "http://www.website.com/channel_id"
}
]
},
"taxonomy": {
"@id": 68,
"code": "APRTEM",
"description": "Theme Parks",
"superior-taxonomy": {
"@id": 68,
"code": "APRTEM",
"description": "Theme Parks"
}
},
"custom-taxonomy": {
"@id": 68,
"code": "APRTEM",
"description": "Theme Parks"
},
"promoter-custom-taxonomy": {
"@id": 68,
"code": "APRTEM",
"description": "Theme Parks"
},
"languages": {
"language": [
"",
"ca_ES"
]
},
"dates": {
"datetime": [
{
"@type": "EVENT_BEGIN",
"@pendingConfirmation": false,
"@timeZoneId": "Europe/Berlin",
"$": "2018-01-07T19:00:00.000+01:00"
}
]
},
"entidad": {
"@id": 123,
"name": "Theme Park",
"nif": "A54343234",
"email": "info@theme.park",
"phoneNumber": "0034 555 55 55",
"timeZone": "Europe/Madrid",
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
}
},
"promotor": {
"@id": 475,
"corporateName": "Theme Park Entertainment SA.",
"fiscalCode": "A53776307",
"email": "info@theme.park",
"phoneNumber": "0034 555 55 55",
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
}
},
"tour": {
"@id": 475,
"name": "Theme Park",
"promotorReference": "Theme Park Entertainment SA."
},
"severalVenues": false,
"severalLocations": false,
"supraEvent": false,
"giftTicket": false,
"nominal": false,
"eventType": "EVENT",
"attribute-values": [
{
"attribute-info": {
"id": 0,
"name": "",
"selection": "SINGLE",
"domain-value-info": [
{
"idValue": 10,
"value": "oneboxtm",
"referenceCode": "OB"
}
],
"domain": "EVENT",
"valueType": "DOMAIN_VALUE",
"referenceCode": "Attr"
},
"attribute-value": [
{
"user-input-value": {},
"domain-value": {
"value": "``",
"idValue": 30
}
}
],
"idAttribute": 50,
"description": "DESCRIPTION"
}
],
"passbookPreferences": {
"communication-elements": {
"@language": "en_US",
"images": [
{
"@type": "LOGO_WEB",
"@order": 1,
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"videos": [
{
"@type": "VIDEO",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"files": [
{
"@type": "FILE",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"banners": [
{
"@type": "CHANNEL_PURCHASE_HEADER_BANNER",
"imageUrl": "https://s3.amazonaws.com/onebox-repository/pro/1/1/itemIdioma/1741/1_image_1340695930723.jpg",
"linkUrl": "http://www.website.com/channel_id"
}
]
}
},
"clientEventDiscount": {
"discountType": "AMOUNT"
},
"sessions-info": {
"session-info": [
{
"@id": 5553432,
"internalName": "7 days 1 park",
"name": "7 days 1 park",
"description": "<P ALIGN=\\\"LEFT\\\">Six amazing worlds in just one Park, perfect for having fun in family and frends as well.</P>",
"dates": {
"datetime": [
{
"@type": "EVENT_BEGIN",
"@pendingConfirmation": false,
"@timeZoneId": "Europe/Berlin",
"$": "2018-01-07T19:00:00.000+01:00"
}
]
},
"venue": {
"@id": 432432,
"@name": "World Park",
"@timeZone": "Europe/Berlin",
"communication-elements": {
"@language": "en_US",
"images": [
{
"@type": "LOGO_WEB",
"@order": 1,
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"videos": [
{
"@type": "VIDEO",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"files": [
{
"@type": "FILE",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"banners": [
{
"@type": "CHANNEL_PURCHASE_HEADER_BANNER",
"imageUrl": "https://s3.amazonaws.com/onebox-repository/pro/1/1/itemIdioma/1741/1_image_1340695930723.jpg",
"linkUrl": "http://www.website.com/channel_id"
}
]
},
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
}
},
"space": {
"id": 150,
"name": "SPACE"
},
"event-basic-info": {
"@id": 23454,
"internalName": "7 days 1 park",
"externalReferenceCode": "EXT-123",
"title": "Theme Park",
"subtitle": "¡Discover the 6 worlds adrenaline!",
"shortDescription": "<P ALIGN=\\\"LEFT\\\">Six amazing worlds in just one Park, perfect for having fun in family and frends as well.</P>",
"longDescription": "<P ALIGN=\\\"LEFT\\\">Explore a whole world of fun and know our amazing theme parks. An ideal destination for a family getaway, located in one of the best tourist areas of Spain and just an hour from Barcelona! </ P> <BR/> <P ALIGN = \\ \"LEFT \\\"> The best entertainment, relaxation, gastronomy and shopping you can imagine. > A DESTINY AND SIX WORLDS TO DISCOVER </ P> <P ALIGN = \\ \"LEFT \\\"> Here begins a journey that takes you much further than you can imagine. At the Park we look forward to six fascinating worlds completely different, with a careful decoration to the last detail, so that you enjoy to the maximum. Emotions for all tastes. Families, friends, big and small: in our theme park, all the fun.</P>",
"additionalEventData": "",
"duration": "",
"communication-elements": {
"@language": "en_US",
"images": [
{
"@type": "LOGO_WEB",
"@order": 1,
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"videos": [
{
"@type": "VIDEO",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"files": [
{
"@type": "FILE",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"banners": [
{
"@type": "CHANNEL_PURCHASE_HEADER_BANNER",
"imageUrl": "https://s3.amazonaws.com/onebox-repository/pro/1/1/itemIdioma/1741/1_image_1340695930723.jpg",
"linkUrl": "http://www.website.com/channel_id"
}
]
},
"taxonomy": {
"@id": 68,
"code": "APRTEM",
"description": "Theme Parks",
"superior-taxonomy": {
"@id": 68,
"code": "APRTEM",
"description": "Theme Parks"
}
},
"custom-taxonomy": {
"@id": 68,
"code": "APRTEM",
"description": "Theme Parks"
},
"promoter-custom-taxonomy": {
"@id": 68,
"code": "APRTEM",
"description": "Theme Parks"
},
"languages": {
"language": [
"",
"ca_ES"
]
},
"dates": {
"datetime": [
{
"@type": "EVENT_BEGIN",
"@pendingConfirmation": false,
"@timeZoneId": "Europe/Berlin",
"$": "2018-01-07T19:00:00.000+01:00"
}
]
},
"entidad": {
"@id": 123,
"name": "Theme Park",
"nif": "A54343234",
"email": "info@theme.park",
"phoneNumber": "0034 555 55 55",
"timeZone": "Europe/Madrid",
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
}
},
"promotor": {
"@id": 475,
"corporateName": "Theme Park Entertainment SA.",
"fiscalCode": "A53776307",
"email": "info@theme.park",
"phoneNumber": "0034 555 55 55",
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
}
},
"tour": {
"@id": 475,
"name": "Theme Park",
"promotorReference": "Theme Park Entertainment SA."
},
"severalVenues": false,
"severalLocations": false,
"supraEvent": false,
"giftTicket": false,
"nominal": false,
"eventType": "EVENT",
"attribute-values": [
{
"attribute-info": {
"id": 0,
"name": "",
"selection": "SINGLE",
"domain-value-info": [
{
"idValue": 10,
"value": "oneboxtm",
"referenceCode": "OB"
}
],
"domain": "EVENT",
"valueType": "DOMAIN_VALUE",
"referenceCode": "Attr"
},
"attribute-value": [
{
"user-input-value": {},
"domain-value": {
"value": "``",
"idValue": 30
}
}
],
"idAttribute": 50,
"description": "DESCRIPTION"
}
],
"passbookPreferences": {
"communication-elements": {
"@language": "en_US",
"images": [
{
"@type": "LOGO_WEB",
"@order": 1,
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"videos": [
{
"@type": "VIDEO",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"files": [
{
"@type": "FILE",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"banners": [
{
"@type": "CHANNEL_PURCHASE_HEADER_BANNER",
"imageUrl": "https://s3.amazonaws.com/onebox-repository/pro/1/1/itemIdioma/1741/1_image_1340695930723.jpg",
"linkUrl": "http://www.website.com/channel_id"
}
]
}
},
"clientEventDiscount": {
"discountType": "AMOUNT"
}
},
"forSale": true,
"blockingReasons": "",
"hasProducts": false,
"admission": "ALL_AGES_ADMITTED",
"supportedEventType": "EVENT",
"supportedVisitorType": "INDIVIDUAL",
"attribute-values": [
{
"attribute-info": {
"id": 0,
"name": "",
"selection": "SINGLE",
"domain-value-info": [
{
"idValue": 10,
"value": "oneboxtm",
"referenceCode": "OB"
}
],
"domain": "EVENT",
"valueType": "DOMAIN_VALUE",
"referenceCode": "Attr"
},
"attribute-value": [
{
"user-input-value": {},
"domain-value": {
"value": "``",
"idValue": 30
}
}
],
"idAttribute": 50,
"description": "DESCRIPTION"
}
],
"visitorGroupConfig": "",
"hideSessionDates": false,
"showDate": false,
"showDatetime": false,
"@rates": "7 days 1 park UK/PAP17",
"season-session-info": {
"beginDate": "2015-09-01T12:00:00+01:00",
"endDate": "2015-10-01T12:00:00+01:00",
"idsSeasonSessions": [],
"seasonSessions": {
"@id": 5553432,
"internalName": "7 days 1 park",
"name": "7 days 1 park",
"description": "<P ALIGN=\\\"LEFT\\\">Six amazing worlds in just one Park, perfect for having fun in family and frends as well.</P>",
"dates": {
"datetime": [
{
"@type": "EVENT_BEGIN",
"@pendingConfirmation": false,
"@timeZoneId": "Europe/Berlin",
"$": "2018-01-07T19:00:00.000+01:00"
}
]
},
"venue": {
"@id": 432432,
"@name": "World Park",
"@timeZone": "Europe/Berlin",
"communication-elements": {
"@language": "en_US",
"images": [
{
"@type": "LOGO_WEB",
"@order": 1,
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"videos": [
{
"@type": "VIDEO",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"files": [
{
"@type": "FILE",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"banners": [
{
"@type": "CHANNEL_PURCHASE_HEADER_BANNER",
"imageUrl": "https://s3.amazonaws.com/onebox-repository/pro/1/1/itemIdioma/1741/1_image_1340695930723.jpg",
"linkUrl": "http://www.website.com/channel_id"
}
]
},
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
}
},
"space": {
"id": 150,
"name": "SPACE"
},
"event-basic-info": {
"@id": 23454,
"internalName": "7 days 1 park",
"externalReferenceCode": "EXT-123",
"title": "Theme Park",
"subtitle": "¡Discover the 6 worlds adrenaline!",
"shortDescription": "<P ALIGN=\\\"LEFT\\\">Six amazing worlds in just one Park, perfect for having fun in family and frends as well.</P>",
"longDescription": "<P ALIGN=\\\"LEFT\\\">Explore a whole world of fun and know our amazing theme parks. An ideal destination for a family getaway, located in one of the best tourist areas of Spain and just an hour from Barcelona! </ P> <BR/> <P ALIGN = \\ \"LEFT \\\"> The best entertainment, relaxation, gastronomy and shopping you can imagine. > A DESTINY AND SIX WORLDS TO DISCOVER </ P> <P ALIGN = \\ \"LEFT \\\"> Here begins a journey that takes you much further than you can imagine. At the Park we look forward to six fascinating worlds completely different, with a careful decoration to the last detail, so that you enjoy to the maximum. Emotions for all tastes. Families, friends, big and small: in our theme park, all the fun.</P>",
"additionalEventData": "",
"duration": "",
"communication-elements": {
"@language": "en_US",
"images": [
{
"@type": "LOGO_WEB",
"@order": 1,
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"videos": [
{
"@type": "VIDEO",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"files": [
{
"@type": "FILE",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"banners": [
{
"@type": "CHANNEL_PURCHASE_HEADER_BANNER",
"imageUrl": "https://s3.amazonaws.com/onebox-repository/pro/1/1/itemIdioma/1741/1_image_1340695930723.jpg",
"linkUrl": "http://www.website.com/channel_id"
}
]
},
"taxonomy": {
"@id": 68,
"code": "APRTEM",
"description": "Theme Parks",
"superior-taxonomy": {
"@id": 68,
"code": "APRTEM",
"description": "Theme Parks"
}
},
"custom-taxonomy": {
"@id": 68,
"code": "APRTEM",
"description": "Theme Parks"
},
"promoter-custom-taxonomy": {
"@id": 68,
"code": "APRTEM",
"description": "Theme Parks"
},
"languages": {
"language": [
"",
"ca_ES"
]
},
"dates": {
"datetime": [
{
"@type": "EVENT_BEGIN",
"@pendingConfirmation": false,
"@timeZoneId": "Europe/Berlin",
"$": "2018-01-07T19:00:00.000+01:00"
}
]
},
"entidad": {
"@id": 123,
"name": "Theme Park",
"nif": "A54343234",
"email": "info@theme.park",
"phoneNumber": "0034 555 55 55",
"timeZone": "Europe/Madrid",
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
}
},
"promotor": {
"@id": 475,
"corporateName": "Theme Park Entertainment SA.",
"fiscalCode": "A53776307",
"email": "info@theme.park",
"phoneNumber": "0034 555 55 55",
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
}
},
"tour": {
"@id": 475,
"name": "Theme Park",
"promotorReference": "Theme Park Entertainment SA."
},
"severalVenues": false,
"severalLocations": false,
"supraEvent": false,
"giftTicket": false,
"nominal": false,
"eventType": "EVENT",
"attribute-values": [
{
"attribute-info": {
"id": 0,
"name": "",
"selection": "SINGLE",
"domain-value-info": [
{
"idValue": 10,
"value": "oneboxtm",
"referenceCode": "OB"
}
],
"domain": "EVENT",
"valueType": "DOMAIN_VALUE",
"referenceCode": "Attr"
},
"attribute-value": [
{
"user-input-value": {},
"domain-value": {
"value": "``",
"idValue": 30
}
}
],
"idAttribute": 50,
"description": "DESCRIPTION"
}
],
"passbookPreferences": {
"communication-elements": {
"@language": "en_US",
"images": [
{
"@type": "LOGO_WEB",
"@order": 1,
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"videos": [
{
"@type": "VIDEO",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"files": [
{
"@type": "FILE",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"banners": [
{
"@type": "CHANNEL_PURCHASE_HEADER_BANNER",
"imageUrl": "https://s3.amazonaws.com/onebox-repository/pro/1/1/itemIdioma/1741/1_image_1340695930723.jpg",
"linkUrl": "http://www.website.com/channel_id"
}
]
}
},
"clientEventDiscount": {
"discountType": "AMOUNT"
}
},
"forSale": true,
"blockingReasons": "",
"hasProducts": false,
"admission": "ALL_AGES_ADMITTED",
"supportedEventType": "EVENT",
"supportedVisitorType": "INDIVIDUAL",
"attribute-values": [
{
"attribute-info": {
"id": 0,
"name": "",
"selection": "SINGLE",
"domain-value-info": [
{
"idValue": 10,
"value": "oneboxtm",
"referenceCode": "OB"
}
],
"domain": "EVENT",
"valueType": "DOMAIN_VALUE",
"referenceCode": "Attr"
},
"attribute-value": [
{
"user-input-value": {},
"domain-value": {
"value": "``",
"idValue": 30
}
}
],
"idAttribute": 50,
"description": "DESCRIPTION"
}
],
"visitorGroupConfig": "",
"hideSessionDates": false,
"showDate": false,
"showDatetime": false,
"@rates": "7 days 1 park UK/PAP17",
"season-session-info": {}
},
"@isSeasonSession": 0
},
"isGraphicVenue": false,
"nonGraphicImage": {
"@type": "LOGO_WEB",
"@order": 1,
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
},
"sessionMinPrice": {
"price": 0,
"charges": {
"charge": [
{
"@type": "CHANNEL_CHARGE",
"value 1.5": 0
}
]
}
},
"sessionMaxPrice": {
"price": 10,
"charges": {
"charge": [
{
"@type": "CHANNEL_CHARGE",
"value 1.5": 0
}
]
}
},
"price-zones-availability": {
"priceZoneAvailability": [
{
"originalBasePrice": 100,
"originalBasePriceCharges": {
"charge": [
{
"@type": "CHANNEL_CHARGE",
"value 1.5": 0
}
]
},
"automatic-promotion": {
"@id": 30,
"promotionComElements": {
"name": "NAME",
"description": "DESCRIPTION"
},
"type": "PERCENTAGE",
"value": 10,
"priceZonesIds": {
"priceZonesId": [
10,
12,
15
]
},
"group": {
"i@d": 30,
"name": "NAME",
"validationType": "CHANNEL",
"validationMethod": "PROMOTIONAL_CODE"
},
"limitedUses": false
},
"promotedPrice": 100,
"promotedPriceCharges": {
"charge": [
{
"@type": "CHANNEL_CHARGE",
"value 1.5": 0
}
]
},
"@id": 555,
"name": "NAME",
"code": "ZP1",
"color": "#FFFFFF",
"availability-info": {
"total": 2500,
"available": 2000,
"blockedAvailability": {
"blockingReasonsAvailability": {
"blockingReasonAvailability": [
{
"@id": 10,
"value": 10
}
]
}
}
},
"sector-availability": [
{
"@id": 100,
"availability-info": {
"total": 2500,
"available": 2000,
"blockedAvailability": {
"blockingReasonsAvailability": {
"blockingReasonAvailability": [
{
"@id": 10,
"value": 10
}
]
}
}
}
}
]
}
]
},
"activity-ticket-types-availability": {
"activity-ticket-type-availability": [
{
"@id": 555,
"name": "NAME",
"code": "ZP1",
"individualPrice": {
"originalBasePrice": 100,
"originalBasePriceCharges": {
"charge": [
{
"@type": "CHANNEL_CHARGE",
"value 1.5": 0
}
]
},
"automatic-promotion": {
"@id": 30,
"promotionComElements": {
"name": "NAME",
"description": "DESCRIPTION"
},
"type": "PERCENTAGE",
"value": 10,
"priceZonesIds": {
"priceZonesId": [
10,
12,
15
]
},
"group": {
"i@d": 30,
"name": "NAME",
"validationType": "CHANNEL",
"validationMethod": "PROMOTIONAL_CODE"
},
"limitedUses": false
},
"promotedPrice": 100,
"promotedPriceCharges": {
"charge": [
{
"@type": "CHANNEL_CHARGE",
"value 1.5": 0
}
]
}
},
"visitorGroupPrice": {
"originalBasePrice": 100,
"originalBasePriceCharges": {
"charge": [
{
"@type": "CHANNEL_CHARGE",
"value 1.5": 0
}
]
},
"automatic-promotion": {
"@id": 30,
"promotionComElements": {
"name": "NAME",
"description": "DESCRIPTION"
},
"type": "PERCENTAGE",
"value": 10,
"priceZonesIds": {
"priceZonesId": [
10,
12,
15
]
},
"group": {
"i@d": 30,
"name": "NAME",
"validationType": "CHANNEL",
"validationMethod": "PROMOTIONAL_CODE"
},
"limitedUses": false
},
"promotedPrice": 100,
"promotedPriceCharges": {
"charge": [
{
"@type": "CHANNEL_CHARGE",
"value 1.5": 0
}
]
}
},
"visitorGroupPricingType": "PER_ASSISTANT",
"color": "#FFFFFF",
"availability-info": {
"total": 2500,
"available": 2000,
"blockedAvailability": {
"blockingReasonsAvailability": {
"blockingReasonAvailability": [
{
"@id": 10,
"value": 10
}
]
}
}
},
"sector-availability": [
{
"@id": 100,
"availability-info": {
"total": 2500,
"available": 2000,
"blockedAvailability": {
"blockingReasonsAvailability": {
"blockingReasonAvailability": [
{
"@id": 10,
"value": 10
}
]
}
}
}
}
]
}
]
},
"availability-info": {
"total": 2500,
"available": 2000,
"blockedAvailability": {
"blockingReasonsAvailability": {
"blockingReasonAvailability": [
{
"@id": 10,
"value": 10
}
]
}
}
},
"communication-elements": {
"@language": "en_US",
"images": [
{
"@type": "LOGO_WEB",
"@order": 1,
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"videos": [
{
"@type": "VIDEO",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"files": [
{
"@type": "FILE",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"banners": [
{
"@type": "CHANNEL_PURCHASE_HEADER_BANNER",
"imageUrl": "https://s3.amazonaws.com/onebox-repository/pro/1/1/itemIdioma/1741/1_image_1340695930723.jpg",
"linkUrl": "http://www.website.com/channel_id"
}
]
},
"promotions-discounts": {
"promotions": {
"promotion": [
{
"@id": 30,
"promotionComElements": {
"name": "NAME",
"description": "DESCRIPTION"
},
"type": "PERCENTAGE",
"value": 10,
"priceZonesIds": {
"priceZonesId": [
10,
12,
15
]
},
"group": {
"i@d": 30,
"name": "NAME",
"validationType": "CHANNEL",
"validationMethod": "PROMOTIONAL_CODE"
},
"restrictions": {
"packItems": 0,
"maxItems": 0,
"minItems": 0
},
"mandatory": false,
"self-managed": false,
"limitedUses": false,
"dates": {
"datetime": [
{
"@type": "EVENT_BEGIN",
"@pendingConfirmation": false,
"@timeZoneId": "Europe/Berlin",
"$": "2018-01-07T19:00:00.000+01:00"
}
]
}
}
]
},
"discounts": {
"promotion": [
{
"@id": 30,
"promotionComElements": {
"name": "NAME",
"description": "DESCRIPTION"
},
"type": "PERCENTAGE",
"value": 10,
"priceZonesIds": {
"priceZonesId": [
10,
12,
15
]
},
"group": {
"i@d": 30,
"name": "NAME",
"validationType": "CHANNEL",
"validationMethod": "PROMOTIONAL_CODE"
},
"restrictions": {
"packItems": 0,
"maxItems": 0,
"minItems": 0
},
"mandatory": false,
"self-managed": false,
"limitedUses": false,
"dates": {
"datetime": [
{
"@type": "EVENT_BEGIN",
"@pendingConfirmation": false,
"@timeZoneId": "Europe/Berlin",
"$": "2018-01-07T19:00:00.000+01:00"
}
]
}
}
]
}
},
"sector": [
{
"@id": 222,
"sectorName": "SECTOR"
}
],
"session-properties": {
"bestSeatsOperationSupported": true,
"purchaseTicketsLimit": 1,
"antibotDesired": false,
"showTime": true
},
"visitorGroupAvailability": {
"totalVisitorGroups": 0,
"availableVisitorGroups": 0
},
"ticketingPartit": "TICKET"
}
]
},
"eventMinPrice": {
"price": 0,
"charges": {
"charge": [
{
"@type": "CHANNEL_CHARGE",
"value 1.5": 0
}
]
}
},
"eventMaxPrice": {
"price": 10,
"charges": {
"charge": [
{
"@type": "CHANNEL_CHARGE",
"value 1.5": 0
}
]
}
}
}Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique identifier for each event/activity product."
},
"internalName": {
"type": "string",
"description": "Product internal description name."
},
"externalReferenceCode": {
"type": "string",
"description": "In case of product from 3rd party suppliers, those came with its own reference."
},
"title": {
"type": "string",
"description": "Event main title"
},
"subtitle": {
"type": "string",
"description": "Event secondary title"
},
"shortDescription": {
"type": "string",
"description": "Event short description"
},
"longDescription": {
"type": "string",
"description": "Event detailed description"
},
"additionalEventData": {
"type": "string"
},
"duration": {
"type": "string"
},
"communication-elements": {
"type": "object",
"properties": {
"@language": {
"type": "string",
"description": "Indicates the language of the communitacion event details."
},
"images": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`Image categorization, ie: LOGO_WEB, IMG_BANNER_WEB, IMG_BODY_WEB.`"
},
"@order": {
"type": "number",
"description": "Indicates just the order/priority in case of same type. This number is unique."
},
"$": {
"type": "string",
"description": "Absolute path to the image file."
}
},
"required": [
"@type",
"@order",
"$"
]
},
"description": "List of related images as banners, logo's, backgrounds..."
},
"videos": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`Video categorization.`"
},
"$": {
"type": "string",
"description": "Absolute path to the video file."
}
},
"required": [
"@type",
"$"
]
},
"description": "List of related images as banners, logo's, backgrounds..."
},
"files": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`File categorization.`"
},
"$": {
"type": "string",
"description": "Absolute path to the file."
}
},
"required": [
"@type",
"$"
]
},
"description": "List of related images as banners, logo's, backgrounds..."
},
"banners": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`Banner categorization, ie: CHANNEL_PURCHASE_HEADER_BANNER, CHANNEL_PURCHASE_BANNER, PROMOTER_PURCHASE_BANNER`"
},
"imageUrl": {
"type": "string",
"description": "Absolute path to the banner image file."
},
"linkUrl": {
"type": "string",
"description": "Direct link to the promotional site just in case."
}
},
"required": [
"@type",
"imageUrl"
]
},
"description": "List of related banners to put into a website, pdf, ticket..."
}
},
"required": [
"@language"
]
},
"taxonomy": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique identifier of this product segmentation."
},
"code": {
"type": "string",
"description": "Unique identifier fo this product segmentation to be used in th API."
},
"description": {
"type": "string",
"description": "Short description to better understand the taxonomy segmentation."
},
"superior-taxonomy": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique identifier of this product segmentation."
},
"code": {
"type": "string",
"description": "Unique identifier fo this product segmentation to be used in th API."
},
"description": {
"type": "string",
"description": "Short description to better understand the taxonomy segmentation."
}
},
"required": [
"@id",
"code"
]
}
},
"required": [
"@id",
"code"
]
},
"custom-taxonomy": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique identifier of this product segmentation."
},
"code": {
"type": "string",
"description": "Unique identifier fo this product segmentation to be used in th API."
},
"description": {
"type": "string",
"description": "Short description to better understand the taxonomy segmentation."
}
},
"required": [
"@id",
"code"
]
},
"promoter-custom-taxonomy": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique identifier of this product segmentation."
},
"code": {
"type": "string",
"description": "Unique identifier fo this product segmentation to be used in th API."
},
"description": {
"type": "string",
"description": "Short description to better understand the taxonomy segmentation."
}
},
"required": [
"@id",
"code"
]
},
"languages": {
"type": "object",
"properties": {
"language": {
"type": "array",
"items": [
{},
{
"type": "string",
"enum": [
"ca_ES",
"es_ES",
"en_US",
"fr_FR",
"it_IT",
"de_DE"
]
}
],
"description": "`List of the available languages for the event descriptions.`"
}
}
},
"dates": {
"type": "object",
"properties": {
"datetime": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"enum": [
"EVENT_BEGIN",
"EVENT_END",
"SESSION_BEGIN",
"SESSION_END",
"SESSION_SALES_BEGIN",
"SESSION_SALES_END",
"PRODUCT_SALES",
"PRODUCT_SALES_END",
"SESSION_PUBLISHED",
"PROMOTION_BEGIN",
"PROMOTION_END",
"SEASON_TICKET_HOLDER_BEGIN",
"SEASON_TICKET_HOLDER_END"
],
"description": "Define the date meaning possibilites."
},
"@pendingConfirmation": {
"type": "boolean",
"description": "Says whether the date is finally commited or not."
},
"@timeZoneId": {
"type": "string",
"description": "Define the time zone worldwide from UTC."
},
"$": {
"type": "string",
"description": "XmlGregorianCalendar representation of the given date."
}
}
}
}
}
},
"entidad": {
"type": "object",
"properties": {
"@id": {
"type": "number"
},
"name": {
"type": "string",
"description": "Promotor/Organizer company name."
},
"nif": {
"type": "string",
"description": "Tax/Vat unique identifier number."
},
"email": {
"type": "string"
},
"phoneNumber": {
"type": "string"
},
"timeZone": {
"type": "string"
},
"location": {
"type": "object",
"properties": {
"address": {
"type": "string",
"description": "Venue address where the event will be performed."
},
"city": {
"type": "string",
"description": "City where the event will be performed."
},
"postalCode": {
"type": "string",
"description": "Postal code or zip code where the event will be performed."
},
"countrySubdivision": {
"type": "object",
"properties": {
"@code": {
"type": "string",
"description": "Item unique identifier."
},
"$": {
"type": "string",
"description": "Item value string."
}
},
"required": [
"@code",
"$"
],
"description": "`Country subdivision, this shall be the province, state or county. Ie: ES-T - Tarragona.`"
},
"country": {
"type": "object",
"properties": {
"@code": {
"type": "string",
"description": "Item unique identifier."
},
"$": {
"type": "string",
"description": "Item value string."
}
},
"required": [
"@code",
"$"
],
"description": "`Ie: ES - Spain.`"
},
"coordinates": {
"type": "string"
}
},
"required": [
"address",
"city",
"postalCode",
"countrySubdivision",
"country"
]
}
},
"required": [
"@id",
"name",
"nif",
"email",
"phoneNumber",
"timeZone"
]
},
"promotor": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Onebox internal unique identifier."
},
"corporateName": {
"type": "string"
},
"fiscalCode": {
"type": "string",
"description": "Tax/Vat unique identifier number."
},
"email": {
"type": "string"
},
"phoneNumber": {
"type": "string"
},
"location": {
"type": "object",
"properties": {
"address": {
"type": "string",
"description": "Venue address where the event will be performed."
},
"city": {
"type": "string",
"description": "City where the event will be performed."
},
"postalCode": {
"type": "string",
"description": "Postal code or zip code where the event will be performed."
},
"countrySubdivision": {
"type": "object",
"properties": {
"@code": {
"type": "string",
"description": "Item unique identifier."
},
"$": {
"type": "string",
"description": "Item value string."
}
},
"required": [
"@code",
"$"
],
"description": "`Country subdivision, this shall be the province, state or county. Ie: ES-T - Tarragona.`"
},
"country": {
"type": "object",
"properties": {
"@code": {
"type": "string",
"description": "Item unique identifier."
},
"$": {
"type": "string",
"description": "Item value string."
}
},
"required": [
"@code",
"$"
],
"description": "`Ie: ES - Spain.`"
},
"coordinates": {
"type": "string"
}
},
"required": [
"address",
"city",
"postalCode",
"countrySubdivision",
"country"
]
}
},
"required": [
"@id",
"corporateName",
"fiscalCode",
"email",
"phoneNumber"
]
},
"tour": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Onebox internal unique identifier."
},
"name": {
"type": "string",
"description": "Tour name."
},
"promotorReference": {
"type": "string",
"description": "Promotor reference."
}
},
"required": [
"@id",
"name",
"promotorReference"
]
},
"severalVenues": {
"type": "boolean",
"description": "Is the event performed in different venues?"
},
"severalLocations": {
"type": "boolean",
"description": "Is the event perfomed in different locations?"
},
"supraEvent": {
"type": "boolean",
"description": "Is the event a sibling from another parent event?"
},
"giftTicket": {
"type": "boolean",
"description": "Has this event free entrance tickets allowed?"
},
"nominal": {
"type": "boolean",
"description": "Has the ticket to indicate the owner name / surname / id details?"
},
"eventType": {
"type": "string",
"enum": [
"EVENT",
"ACTIVITY"
]
},
"attribute-values": {
"type": "array",
"items": {
"type": "object",
"properties": {
"attribute-info": {
"type": "object",
"properties": {
"id": {
"type": "number",
"description": "Unique identifier."
},
"name": {
"type": "string"
},
"selection": {
"type": "string",
"enum": [
"SINGLE",
"MULTIPLE"
]
},
"domain-value-info": {
"type": "array",
"items": {
"type": "object",
"properties": {
"idValue": {
"type": "number",
"description": "Unique identifier."
},
"value": {
"type": "string"
},
"referenceCode": {
"type": "string"
}
},
"required": [
"idValue",
"value",
"referenceCode"
]
}
},
"domain": {
"type": "string",
"enum": [
"EVENT",
"SESSION",
"GROUP",
"PROFILE"
]
},
"valueType": {
"type": "string",
"enum": [
"USER_INPUT_INTEGER",
"USER_INPUT_STRING",
"DOMAIN_VALUE"
]
},
"referenceCode": {
"type": "string"
}
},
"required": [
"id",
"name",
"selection",
"domain-value-info",
"domain",
"valueType",
"referenceCode"
]
},
"attribute-value": {
"type": "array",
"items": {
"type": "object",
"properties": {
"user-input-value": {
"type": "object",
"properties": {},
"description": "Unique identifier."
},
"domain-value": {
"type": "object",
"properties": {
"value": {
"type": "string"
},
"idValue": {
"type": "number"
}
},
"required": [
"value"
],
"description": "Unique identifier."
}
}
}
},
"idAttribute": {
"type": "number"
},
"description": {
"type": "string"
}
},
"required": [
"attribute-info",
"attribute-value"
]
}
},
"passbookPreferences": {
"type": [
"object",
"null"
],
"properties": {
"communication-elements": {
"type": "object",
"properties": {
"@language": {
"type": "string",
"description": "Indicates the language of the communitacion event details."
},
"images": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`Image categorization, ie: LOGO_WEB, IMG_BANNER_WEB, IMG_BODY_WEB.`"
},
"@order": {
"type": "number",
"description": "Indicates just the order/priority in case of same type. This number is unique."
},
"$": {
"type": "string",
"description": "Absolute path to the image file."
}
},
"required": [
"@type",
"@order",
"$"
]
},
"description": "List of related images as banners, logo's, backgrounds..."
},
"videos": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`Video categorization.`"
},
"$": {
"type": "string",
"description": "Absolute path to the video file."
}
},
"required": [
"@type",
"$"
]
},
"description": "List of related images as banners, logo's, backgrounds..."
},
"files": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`File categorization.`"
},
"$": {
"type": "string",
"description": "Absolute path to the file."
}
},
"required": [
"@type",
"$"
]
},
"description": "List of related images as banners, logo's, backgrounds..."
},
"banners": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`Banner categorization, ie: CHANNEL_PURCHASE_HEADER_BANNER, CHANNEL_PURCHASE_BANNER, PROMOTER_PURCHASE_BANNER`"
},
"imageUrl": {
"type": "string",
"description": "Absolute path to the banner image file."
},
"linkUrl": {
"type": "string",
"description": "Direct link to the promotional site just in case."
}
},
"required": [
"@type",
"imageUrl"
]
},
"description": "List of related banners to put into a website, pdf, ticket..."
}
},
"required": [
"@language"
]
},
"textColor": {
"type": "string"
},
"labelColor": {
"type": "string"
},
"backgroundColor": {
"type": "string"
}
}
},
"clientEventDiscount": {
"type": "object",
"properties": {
"discountType": {
"type": "string",
"enum": [
"AMOUNT",
"PERCENT"
]
},
"discount": {
"type": "number"
}
},
"required": [
"discountType"
]
},
"sessions-info": {
"type": "object",
"properties": {
"session-info": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "`Onebox session/performance unique identifier.`"
},
"internalName": {
"type": "string",
"description": "Product internal description name."
},
"name": {
"type": "string",
"description": "Public product name depending on the language requestd."
},
"description": {
"type": "string",
"description": "Session description"
},
"dates": {
"type": "object",
"properties": {
"datetime": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"enum": [
"EVENT_BEGIN",
"EVENT_END",
"SESSION_BEGIN",
"SESSION_END",
"SESSION_SALES_BEGIN",
"SESSION_SALES_END",
"PRODUCT_SALES",
"PRODUCT_SALES_END",
"SESSION_PUBLISHED",
"PROMOTION_BEGIN",
"PROMOTION_END",
"SEASON_TICKET_HOLDER_BEGIN",
"SEASON_TICKET_HOLDER_END"
],
"description": "Define the date meaning possibilites."
},
"@pendingConfirmation": {
"type": "boolean",
"description": "Says whether the date is finally commited or not."
},
"@timeZoneId": {
"type": "string",
"description": "Define the time zone worldwide from UTC."
},
"$": {
"type": "string",
"description": "XmlGregorianCalendar representation of the given date."
}
}
}
}
}
},
"venue": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Onebox internal venue unique identifier."
},
"@name": {
"type": "string",
"description": "Public venue name."
},
"@timeZone": {
"type": "string",
"description": "Define the time zone worldwide from UTC."
},
"communication-elements": {
"type": "object",
"properties": {
"@language": {
"type": "string",
"description": "Indicates the language of the communitacion event details."
},
"images": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`Image categorization, ie: LOGO_WEB, IMG_BANNER_WEB, IMG_BODY_WEB.`"
},
"@order": {
"type": "number",
"description": "Indicates just the order/priority in case of same type. This number is unique."
},
"$": {
"type": "string",
"description": "Absolute path to the image file."
}
},
"required": [
"@type",
"@order",
"$"
]
},
"description": "List of related images as banners, logo's, backgrounds..."
},
"videos": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`Video categorization.`"
},
"$": {
"type": "string",
"description": "Absolute path to the video file."
}
},
"required": [
"@type",
"$"
]
},
"description": "List of related images as banners, logo's, backgrounds..."
},
"files": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`File categorization.`"
},
"$": {
"type": "string",
"description": "Absolute path to the file."
}
},
"required": [
"@type",
"$"
]
},
"description": "List of related images as banners, logo's, backgrounds..."
},
"banners": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`Banner categorization, ie: CHANNEL_PURCHASE_HEADER_BANNER, CHANNEL_PURCHASE_BANNER, PROMOTER_PURCHASE_BANNER`"
},
"imageUrl": {
"type": "string",
"description": "Absolute path to the banner image file."
},
"linkUrl": {
"type": "string",
"description": "Direct link to the promotional site just in case."
}
},
"required": [
"@type",
"imageUrl"
]
},
"description": "List of related banners to put into a website, pdf, ticket..."
}
},
"required": [
"@language"
]
},
"location": {
"type": "object",
"properties": {
"address": {
"type": "string",
"description": "Venue address where the event will be performed."
},
"city": {
"type": "string",
"description": "City where the event will be performed."
},
"postalCode": {
"type": "string",
"description": "Postal code or zip code where the event will be performed."
},
"countrySubdivision": {
"type": "object",
"properties": {
"@code": {
"type": "string",
"description": "Item unique identifier."
},
"$": {
"type": "string",
"description": "Item value string."
}
},
"required": [
"@code",
"$"
],
"description": "`Country subdivision, this shall be the province, state or county. Ie: ES-T - Tarragona.`"
},
"country": {
"type": "object",
"properties": {
"@code": {
"type": "string",
"description": "Item unique identifier."
},
"$": {
"type": "string",
"description": "Item value string."
}
},
"required": [
"@code",
"$"
],
"description": "`Ie: ES - Spain.`"
},
"coordinates": {
"type": "string"
}
},
"required": [
"address",
"city",
"postalCode",
"countrySubdivision",
"country"
]
}
},
"required": [
"@id",
"@name"
]
},
"space": {
"type": "object",
"properties": {
"id": {
"type": "number",
"description": "Unique space identifier."
},
"name": {
"type": "string",
"description": "Space name."
}
}
},
"event-basic-info": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique identifier for each event/activity product."
},
"internalName": {
"type": "string",
"description": "Product internal description name."
},
"externalReferenceCode": {
"type": "string",
"description": "In case of product from 3rd party suppliers, those came with its own reference."
},
"title": {
"type": "string",
"description": "Event main title"
},
"subtitle": {
"type": "string",
"description": "Event secondary title"
},
"shortDescription": {
"type": "string",
"description": "Event short description"
},
"longDescription": {
"type": "string",
"description": "Event detailed description"
},
"additionalEventData": {
"type": "string"
},
"duration": {
"type": "string"
},
"communication-elements": {
"type": "object",
"properties": {
"@language": {
"type": "string",
"description": "Indicates the language of the communitacion event details."
},
"images": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`Image categorization, ie: LOGO_WEB, IMG_BANNER_WEB, IMG_BODY_WEB.`"
},
"@order": {
"type": "number",
"description": "Indicates just the order/priority in case of same type. This number is unique."
},
"$": {
"type": "string",
"description": "Absolute path to the image file."
}
},
"required": [
"@type",
"@order",
"$"
]
},
"description": "List of related images as banners, logo's, backgrounds..."
},
"videos": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`Video categorization.`"
},
"$": {
"type": "string",
"description": "Absolute path to the video file."
}
},
"required": [
"@type",
"$"
]
},
"description": "List of related images as banners, logo's, backgrounds..."
},
"files": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`File categorization.`"
},
"$": {
"type": "string",
"description": "Absolute path to the file."
}
},
"required": [
"@type",
"$"
]
},
"description": "List of related images as banners, logo's, backgrounds..."
},
"banners": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`Banner categorization, ie: CHANNEL_PURCHASE_HEADER_BANNER, CHANNEL_PURCHASE_BANNER, PROMOTER_PURCHASE_BANNER`"
},
"imageUrl": {
"type": "string",
"description": "Absolute path to the banner image file."
},
"linkUrl": {
"type": "string",
"description": "Direct link to the promotional site just in case."
}
},
"required": [
"@type",
"imageUrl"
]
},
"description": "List of related banners to put into a website, pdf, ticket..."
}
},
"required": [
"@language"
]
},
"taxonomy": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique identifier of this product segmentation."
},
"code": {
"type": "string",
"description": "Unique identifier fo this product segmentation to be used in th API."
},
"description": {
"type": "string",
"description": "Short description to better understand the taxonomy segmentation."
},
"superior-taxonomy": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique identifier of this product segmentation."
},
"code": {
"type": "string",
"description": "Unique identifier fo this product segmentation to be used in th API."
},
"description": {
"type": "string",
"description": "Short description to better understand the taxonomy segmentation."
}
},
"required": [
"@id",
"code"
]
}
},
"required": [
"@id",
"code"
]
},
"custom-taxonomy": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique identifier of this product segmentation."
},
"code": {
"type": "string",
"description": "Unique identifier fo this product segmentation to be used in th API."
},
"description": {
"type": "string",
"description": "Short description to better understand the taxonomy segmentation."
}
},
"required": [
"@id",
"code"
]
},
"promoter-custom-taxonomy": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique identifier of this product segmentation."
},
"code": {
"type": "string",
"description": "Unique identifier fo this product segmentation to be used in th API."
},
"description": {
"type": "string",
"description": "Short description to better understand the taxonomy segmentation."
}
},
"required": [
"@id",
"code"
]
},
"languages": {
"type": "object",
"properties": {
"language": {
"type": "array",
"items": [
{},
{
"type": "string",
"enum": [
"ca_ES",
"es_ES",
"en_US",
"fr_FR",
"it_IT",
"de_DE"
]
}
],
"description": "`List of the available languages for the event descriptions.`"
}
}
},
"dates": {
"type": "object",
"properties": {
"datetime": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"enum": [
"EVENT_BEGIN",
"EVENT_END",
"SESSION_BEGIN",
"SESSION_END",
"SESSION_SALES_BEGIN",
"SESSION_SALES_END",
"PRODUCT_SALES",
"PRODUCT_SALES_END",
"SESSION_PUBLISHED",
"PROMOTION_BEGIN",
"PROMOTION_END",
"SEASON_TICKET_HOLDER_BEGIN",
"SEASON_TICKET_HOLDER_END"
],
"description": "Define the date meaning possibilites."
},
"@pendingConfirmation": {
"type": "boolean",
"description": "Says whether the date is finally commited or not."
},
"@timeZoneId": {
"type": "string",
"description": "Define the time zone worldwide from UTC."
},
"$": {
"type": "string",
"description": "XmlGregorianCalendar representation of the given date."
}
}
}
}
}
},
"entidad": {
"type": "object",
"properties": {
"@id": {
"type": "number"
},
"name": {
"type": "string",
"description": "Promotor/Organizer company name."
},
"nif": {
"type": "string",
"description": "Tax/Vat unique identifier number."
},
"email": {
"type": "string"
},
"phoneNumber": {
"type": "string"
},
"timeZone": {
"type": "string"
},
"location": {
"type": "object",
"properties": {
"address": {
"type": "string",
"description": "Venue address where the event will be performed."
},
"city": {
"type": "string",
"description": "City where the event will be performed."
},
"postalCode": {
"type": "string",
"description": "Postal code or zip code where the event will be performed."
},
"countrySubdivision": {
"type": "object",
"properties": {
"@code": {
"type": "string",
"description": "Item unique identifier."
},
"$": {
"type": "string",
"description": "Item value string."
}
},
"required": [
"@code",
"$"
],
"description": "`Country subdivision, this shall be the province, state or county. Ie: ES-T - Tarragona.`"
},
"country": {
"type": "object",
"properties": {
"@code": {
"type": "string",
"description": "Item unique identifier."
},
"$": {
"type": "string",
"description": "Item value string."
}
},
"required": [
"@code",
"$"
],
"description": "`Ie: ES - Spain.`"
},
"coordinates": {
"type": "string"
}
},
"required": [
"address",
"city",
"postalCode",
"countrySubdivision",
"country"
]
}
},
"required": [
"@id",
"name",
"nif",
"email",
"phoneNumber",
"timeZone"
]
},
"promotor": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Onebox internal unique identifier."
},
"corporateName": {
"type": "string"
},
"fiscalCode": {
"type": "string",
"description": "Tax/Vat unique identifier number."
},
"email": {
"type": "string"
},
"phoneNumber": {
"type": "string"
},
"location": {
"type": "object",
"properties": {
"address": {
"type": "string",
"description": "Venue address where the event will be performed."
},
"city": {
"type": "string",
"description": "City where the event will be performed."
},
"postalCode": {
"type": "string",
"description": "Postal code or zip code where the event will be performed."
},
"countrySubdivision": {
"type": "object",
"properties": {
"@code": {
"type": "string",
"description": "Item unique identifier."
},
"$": {
"type": "string",
"description": "Item value string."
}
},
"required": [
"@code",
"$"
],
"description": "`Country subdivision, this shall be the province, state or county. Ie: ES-T - Tarragona.`"
},
"country": {
"type": "object",
"properties": {
"@code": {
"type": "string",
"description": "Item unique identifier."
},
"$": {
"type": "string",
"description": "Item value string."
}
},
"required": [
"@code",
"$"
],
"description": "`Ie: ES - Spain.`"
},
"coordinates": {
"type": "string"
}
},
"required": [
"address",
"city",
"postalCode",
"countrySubdivision",
"country"
]
}
},
"required": [
"@id",
"corporateName",
"fiscalCode",
"email",
"phoneNumber"
]
},
"tour": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Onebox internal unique identifier."
},
"name": {
"type": "string",
"description": "Tour name."
},
"promotorReference": {
"type": "string",
"description": "Promotor reference."
}
},
"required": [
"@id",
"name",
"promotorReference"
]
},
"severalVenues": {
"type": "boolean",
"description": "Is the event performed in different venues?"
},
"severalLocations": {
"type": "boolean",
"description": "Is the event perfomed in different locations?"
},
"supraEvent": {
"type": "boolean",
"description": "Is the event a sibling from another parent event?"
},
"giftTicket": {
"type": "boolean",
"description": "Has this event free entrance tickets allowed?"
},
"nominal": {
"type": "boolean",
"description": "Has the ticket to indicate the owner name / surname / id details?"
},
"eventType": {
"type": "string",
"enum": [
"EVENT",
"ACTIVITY"
]
},
"attribute-values": {
"type": "array",
"items": {
"type": "object",
"properties": {
"attribute-info": {
"type": "object",
"properties": {
"id": {
"type": "number",
"description": "Unique identifier."
},
"name": {
"type": "string"
},
"selection": {
"type": "string",
"enum": [
"SINGLE",
"MULTIPLE"
]
},
"domain-value-info": {
"type": "array",
"items": {
"type": "object",
"properties": {
"idValue": {
"type": "number",
"description": "Unique identifier."
},
"value": {
"type": "string"
},
"referenceCode": {
"type": "string"
}
},
"required": [
"idValue",
"value",
"referenceCode"
]
}
},
"domain": {
"type": "string",
"enum": [
"EVENT",
"SESSION",
"GROUP",
"PROFILE"
]
},
"valueType": {
"type": "string",
"enum": [
"USER_INPUT_INTEGER",
"USER_INPUT_STRING",
"DOMAIN_VALUE"
]
},
"referenceCode": {
"type": "string"
}
},
"required": [
"id",
"name",
"selection",
"domain-value-info",
"domain",
"valueType",
"referenceCode"
]
},
"attribute-value": {
"type": "array",
"items": {
"type": "object",
"properties": {
"user-input-value": {
"type": "object",
"properties": {},
"description": "Unique identifier."
},
"domain-value": {
"type": "object",
"properties": {
"value": {
"type": "string"
},
"idValue": {
"type": "number"
}
},
"required": [
"value"
],
"description": "Unique identifier."
}
}
}
},
"idAttribute": {
"type": "number"
},
"description": {
"type": "string"
}
},
"required": [
"attribute-info",
"attribute-value"
]
}
},
"passbookPreferences": {
"type": [
"object",
"null"
],
"properties": {
"communication-elements": {
"type": "object",
"properties": {
"@language": {
"type": "string",
"description": "Indicates the language of the communitacion event details."
},
"images": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`Image categorization, ie: LOGO_WEB, IMG_BANNER_WEB, IMG_BODY_WEB.`"
},
"@order": {
"type": "number",
"description": "Indicates just the order/priority in case of same type. This number is unique."
},
"$": {
"type": "string",
"description": "Absolute path to the image file."
}
},
"required": [
"@type",
"@order",
"$"
]
},
"description": "List of related images as banners, logo's, backgrounds..."
},
"videos": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`Video categorization.`"
},
"$": {
"type": "string",
"description": "Absolute path to the video file."
}
},
"required": [
"@type",
"$"
]
},
"description": "List of related images as banners, logo's, backgrounds..."
},
"files": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`File categorization.`"
},
"$": {
"type": "string",
"description": "Absolute path to the file."
}
},
"required": [
"@type",
"$"
]
},
"description": "List of related images as banners, logo's, backgrounds..."
},
"banners": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`Banner categorization, ie: CHANNEL_PURCHASE_HEADER_BANNER, CHANNEL_PURCHASE_BANNER, PROMOTER_PURCHASE_BANNER`"
},
"imageUrl": {
"type": "string",
"description": "Absolute path to the banner image file."
},
"linkUrl": {
"type": "string",
"description": "Direct link to the promotional site just in case."
}
},
"required": [
"@type",
"imageUrl"
]
},
"description": "List of related banners to put into a website, pdf, ticket..."
}
},
"required": [
"@language"
]
},
"textColor": {
"type": "string"
},
"labelColor": {
"type": "string"
},
"backgroundColor": {
"type": "string"
}
}
},
"clientEventDiscount": {
"type": "object",
"properties": {
"discountType": {
"type": "string",
"enum": [
"AMOUNT",
"PERCENT"
]
},
"discount": {
"type": "number"
}
},
"required": [
"discountType"
]
}
},
"required": [
"@id",
"internalName",
"externalReferenceCode",
"title",
"subtitle",
"shortDescription",
"longDescription",
"additionalEventData",
"duration",
"severalVenues",
"severalLocations",
"supraEvent",
"giftTicket",
"nominal",
"eventType",
"passbookPreferences"
]
},
"forSale": {
"type": "boolean",
"description": "Indicates the event is whether on sale or not."
},
"blockingReasons": {
"type": "string"
},
"hasProducts": {
"type": "boolean",
"description": "For Onebox box office purposes only."
},
"admission": {
"type": "string",
"enum": [
"ALL_AGES_ADMITTED",
"NOT_ADMITTED_UNDER_4",
"NOT_ADMITTED_UNDER_7",
"NOT_ADMITTED_UNDER_8",
"NOT_ADMITTED_UNDER_12",
"NOT_ADMITTED_UNDER_13",
"NOT_ADMITTED_UNDER_14",
"NOT_ADMITTED_UNDER_16",
"NOT_ADMITTED_UNDER_18",
"NOT_ADMITTED_UNDER_21"
],
"description": "Filter the age range to be admitted as an attendant."
},
"supportedEventType": {
"type": "string",
"enum": [
"EVENT",
"ACTIVITY"
]
},
"supportedVisitorType": {
"type": "string",
"enum": [
"INDIVIDUAL",
"GROUP",
"MIXED"
]
},
"attribute-values": {
"type": "array",
"items": {
"type": "object",
"properties": {
"attribute-info": {
"type": "object",
"properties": {
"id": {
"type": "number",
"description": "Unique identifier."
},
"name": {
"type": "string"
},
"selection": {
"type": "string",
"enum": [
"SINGLE",
"MULTIPLE"
]
},
"domain-value-info": {
"type": "array",
"items": {
"type": "object",
"properties": {
"idValue": {
"type": "number",
"description": "Unique identifier."
},
"value": {
"type": "string"
},
"referenceCode": {
"type": "string"
}
},
"required": [
"idValue",
"value",
"referenceCode"
]
}
},
"domain": {
"type": "string",
"enum": [
"EVENT",
"SESSION",
"GROUP",
"PROFILE"
]
},
"valueType": {
"type": "string",
"enum": [
"USER_INPUT_INTEGER",
"USER_INPUT_STRING",
"DOMAIN_VALUE"
]
},
"referenceCode": {
"type": "string"
}
},
"required": [
"id",
"name",
"selection",
"domain-value-info",
"domain",
"valueType",
"referenceCode"
]
},
"attribute-value": {
"type": "array",
"items": {
"type": "object",
"properties": {
"user-input-value": {
"type": "object",
"properties": {},
"description": "Unique identifier."
},
"domain-value": {
"type": "object",
"properties": {
"value": {
"type": "string"
},
"idValue": {
"type": "number"
}
},
"required": [
"value"
],
"description": "Unique identifier."
}
}
}
},
"idAttribute": {
"type": "number"
},
"description": {
"type": "string"
}
},
"required": [
"attribute-info",
"attribute-value"
]
}
},
"visitorGroupConfig": {
"type": "string"
},
"hideSessionDates": {
"type": "boolean",
"description": "For Onebox box office purposes only."
},
"showDate": {
"type": "boolean",
"description": "For Onebox box office purposes only."
},
"showDatetime": {
"type": "boolean",
"description": "For Onebox box office purposes only."
},
"@rates": {
"type": "string",
"description": "Rate description identifier."
},
"season-session-info": {
"type": "object",
"properties": {
"beginDate": {
"type": "string"
},
"endDate": {
"type": "string"
},
"idsSeasonSessions": {
"type": "array"
},
"seasonSessions": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "`Onebox session/performance unique identifier.`"
},
"internalName": {
"type": "string",
"description": "Product internal description name."
},
"name": {
"type": "string",
"description": "Public product name depending on the language requestd."
},
"description": {
"type": "string",
"description": "Session description"
},
"dates": {
"type": "object",
"properties": {
"datetime": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"enum": [
"EVENT_BEGIN",
"EVENT_END",
"SESSION_BEGIN",
"SESSION_END",
"SESSION_SALES_BEGIN",
"SESSION_SALES_END",
"PRODUCT_SALES",
"PRODUCT_SALES_END",
"SESSION_PUBLISHED",
"PROMOTION_BEGIN",
"PROMOTION_END",
"SEASON_TICKET_HOLDER_BEGIN",
"SEASON_TICKET_HOLDER_END"
],
"description": "Define the date meaning possibilites."
},
"@pendingConfirmation": {
"type": "boolean",
"description": "Says whether the date is finally commited or not."
},
"@timeZoneId": {
"type": "string",
"description": "Define the time zone worldwide from UTC."
},
"$": {
"type": "string",
"description": "XmlGregorianCalendar representation of the given date."
}
}
}
}
}
},
"venue": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Onebox internal venue unique identifier."
},
"@name": {
"type": "string",
"description": "Public venue name."
},
"@timeZone": {
"type": "string",
"description": "Define the time zone worldwide from UTC."
},
"communication-elements": {
"type": "object",
"properties": {
"@language": {
"type": "string",
"description": "Indicates the language of the communitacion event details."
},
"images": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`Image categorization, ie: LOGO_WEB, IMG_BANNER_WEB, IMG_BODY_WEB.`"
},
"@order": {
"type": "number",
"description": "Indicates just the order/priority in case of same type. This number is unique."
},
"$": {
"type": "string",
"description": "Absolute path to the image file."
}
},
"required": [
"@type",
"@order",
"$"
]
},
"description": "List of related images as banners, logo's, backgrounds..."
},
"videos": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`Video categorization.`"
},
"$": {
"type": "string",
"description": "Absolute path to the video file."
}
},
"required": [
"@type",
"$"
]
},
"description": "List of related images as banners, logo's, backgrounds..."
},
"files": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`File categorization.`"
},
"$": {
"type": "string",
"description": "Absolute path to the file."
}
},
"required": [
"@type",
"$"
]
},
"description": "List of related images as banners, logo's, backgrounds..."
},
"banners": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`Banner categorization, ie: CHANNEL_PURCHASE_HEADER_BANNER, CHANNEL_PURCHASE_BANNER, PROMOTER_PURCHASE_BANNER`"
},
"imageUrl": {
"type": "string",
"description": "Absolute path to the banner image file."
},
"linkUrl": {
"type": "string",
"description": "Direct link to the promotional site just in case."
}
},
"required": [
"@type",
"imageUrl"
]
},
"description": "List of related banners to put into a website, pdf, ticket..."
}
},
"required": [
"@language"
]
},
"location": {
"type": "object",
"properties": {
"address": {
"type": "string",
"description": "Venue address where the event will be performed."
},
"city": {
"type": "string",
"description": "City where the event will be performed."
},
"postalCode": {
"type": "string",
"description": "Postal code or zip code where the event will be performed."
},
"countrySubdivision": {
"type": "object",
"properties": {
"@code": {
"type": "string",
"description": "Item unique identifier."
},
"$": {
"type": "string",
"description": "Item value string."
}
},
"required": [
"@code",
"$"
],
"description": "`Country subdivision, this shall be the province, state or county. Ie: ES-T - Tarragona.`"
},
"country": {
"type": "object",
"properties": {
"@code": {
"type": "string",
"description": "Item unique identifier."
},
"$": {
"type": "string",
"description": "Item value string."
}
},
"required": [
"@code",
"$"
],
"description": "`Ie: ES - Spain.`"
},
"coordinates": {
"type": "string"
}
},
"required": [
"address",
"city",
"postalCode",
"countrySubdivision",
"country"
]
}
},
"required": [
"@id",
"@name"
]
},
"space": {
"type": "object",
"properties": {
"id": {
"type": "number",
"description": "Unique space identifier."
},
"name": {
"type": "string",
"description": "Space name."
}
}
},
"event-basic-info": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique identifier for each event/activity product."
},
"internalName": {
"type": "string",
"description": "Product internal description name."
},
"externalReferenceCode": {
"type": "string",
"description": "In case of product from 3rd party suppliers, those came with its own reference."
},
"title": {
"type": "string",
"description": "Event main title"
},
"subtitle": {
"type": "string",
"description": "Event secondary title"
},
"shortDescription": {
"type": "string",
"description": "Event short description"
},
"longDescription": {
"type": "string",
"description": "Event detailed description"
},
"additionalEventData": {
"type": "string"
},
"duration": {
"type": "string"
},
"communication-elements": {
"type": "object",
"properties": {
"@language": {
"type": "string",
"description": "Indicates the language of the communitacion event details."
},
"images": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`Image categorization, ie: LOGO_WEB, IMG_BANNER_WEB, IMG_BODY_WEB.`"
},
"@order": {
"type": "number",
"description": "Indicates just the order/priority in case of same type. This number is unique."
},
"$": {
"type": "string",
"description": "Absolute path to the image file."
}
},
"required": [
"@type",
"@order",
"$"
]
},
"description": "List of related images as banners, logo's, backgrounds..."
},
"videos": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`Video categorization.`"
},
"$": {
"type": "string",
"description": "Absolute path to the video file."
}
},
"required": [
"@type",
"$"
]
},
"description": "List of related images as banners, logo's, backgrounds..."
},
"files": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`File categorization.`"
},
"$": {
"type": "string",
"description": "Absolute path to the file."
}
},
"required": [
"@type",
"$"
]
},
"description": "List of related images as banners, logo's, backgrounds..."
},
"banners": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`Banner categorization, ie: CHANNEL_PURCHASE_HEADER_BANNER, CHANNEL_PURCHASE_BANNER, PROMOTER_PURCHASE_BANNER`"
},
"imageUrl": {
"type": "string",
"description": "Absolute path to the banner image file."
},
"linkUrl": {
"type": "string",
"description": "Direct link to the promotional site just in case."
}
},
"required": [
"@type",
"imageUrl"
]
},
"description": "List of related banners to put into a website, pdf, ticket..."
}
},
"required": [
"@language"
]
},
"taxonomy": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique identifier of this product segmentation."
},
"code": {
"type": "string",
"description": "Unique identifier fo this product segmentation to be used in th API."
},
"description": {
"type": "string",
"description": "Short description to better understand the taxonomy segmentation."
},
"superior-taxonomy": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique identifier of this product segmentation."
},
"code": {
"type": "string",
"description": "Unique identifier fo this product segmentation to be used in th API."
},
"description": {
"type": "string",
"description": "Short description to better understand the taxonomy segmentation."
}
},
"required": [
"@id",
"code"
]
}
},
"required": [
"@id",
"code"
]
},
"custom-taxonomy": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique identifier of this product segmentation."
},
"code": {
"type": "string",
"description": "Unique identifier fo this product segmentation to be used in th API."
},
"description": {
"type": "string",
"description": "Short description to better understand the taxonomy segmentation."
}
},
"required": [
"@id",
"code"
]
},
"promoter-custom-taxonomy": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique identifier of this product segmentation."
},
"code": {
"type": "string",
"description": "Unique identifier fo this product segmentation to be used in th API."
},
"description": {
"type": "string",
"description": "Short description to better understand the taxonomy segmentation."
}
},
"required": [
"@id",
"code"
]
},
"languages": {
"type": "object",
"properties": {
"language": {
"type": "array",
"items": [
{},
{
"type": "string",
"enum": [
"ca_ES",
"es_ES",
"en_US",
"fr_FR",
"it_IT",
"de_DE"
]
}
],
"description": "`List of the available languages for the event descriptions.`"
}
}
},
"dates": {
"type": "object",
"properties": {
"datetime": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"enum": [
"EVENT_BEGIN",
"EVENT_END",
"SESSION_BEGIN",
"SESSION_END",
"SESSION_SALES_BEGIN",
"SESSION_SALES_END",
"PRODUCT_SALES",
"PRODUCT_SALES_END",
"SESSION_PUBLISHED",
"PROMOTION_BEGIN",
"PROMOTION_END",
"SEASON_TICKET_HOLDER_BEGIN",
"SEASON_TICKET_HOLDER_END"
],
"description": "Define the date meaning possibilites."
},
"@pendingConfirmation": {
"type": "boolean",
"description": "Says whether the date is finally commited or not."
},
"@timeZoneId": {
"type": "string",
"description": "Define the time zone worldwide from UTC."
},
"$": {
"type": "string",
"description": "XmlGregorianCalendar representation of the given date."
}
}
}
}
}
},
"entidad": {
"type": "object",
"properties": {
"@id": {
"type": "number"
},
"name": {
"type": "string",
"description": "Promotor/Organizer company name."
},
"nif": {
"type": "string",
"description": "Tax/Vat unique identifier number."
},
"email": {
"type": "string"
},
"phoneNumber": {
"type": "string"
},
"timeZone": {
"type": "string"
},
"location": {
"type": "object",
"properties": {
"address": {
"type": "string",
"description": "Venue address where the event will be performed."
},
"city": {
"type": "string",
"description": "City where the event will be performed."
},
"postalCode": {
"type": "string",
"description": "Postal code or zip code where the event will be performed."
},
"countrySubdivision": {
"type": "object",
"properties": {
"@code": {
"type": "string",
"description": "Item unique identifier."
},
"$": {
"type": "string",
"description": "Item value string."
}
},
"required": [
"@code",
"$"
],
"description": "`Country subdivision, this shall be the province, state or county. Ie: ES-T - Tarragona.`"
},
"country": {
"type": "object",
"properties": {
"@code": {
"type": "string",
"description": "Item unique identifier."
},
"$": {
"type": "string",
"description": "Item value string."
}
},
"required": [
"@code",
"$"
],
"description": "`Ie: ES - Spain.`"
},
"coordinates": {
"type": "string"
}
},
"required": [
"address",
"city",
"postalCode",
"countrySubdivision",
"country"
]
}
},
"required": [
"@id",
"name",
"nif",
"email",
"phoneNumber",
"timeZone"
]
},
"promotor": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Onebox internal unique identifier."
},
"corporateName": {
"type": "string"
},
"fiscalCode": {
"type": "string",
"description": "Tax/Vat unique identifier number."
},
"email": {
"type": "string"
},
"phoneNumber": {
"type": "string"
},
"location": {
"type": "object",
"properties": {
"address": {
"type": "string",
"description": "Venue address where the event will be performed."
},
"city": {
"type": "string",
"description": "City where the event will be performed."
},
"postalCode": {
"type": "string",
"description": "Postal code or zip code where the event will be performed."
},
"countrySubdivision": {
"type": "object",
"properties": {
"@code": {
"type": "string",
"description": "Item unique identifier."
},
"$": {
"type": "string",
"description": "Item value string."
}
},
"required": [
"@code",
"$"
],
"description": "`Country subdivision, this shall be the province, state or county. Ie: ES-T - Tarragona.`"
},
"country": {
"type": "object",
"properties": {
"@code": {
"type": "string",
"description": "Item unique identifier."
},
"$": {
"type": "string",
"description": "Item value string."
}
},
"required": [
"@code",
"$"
],
"description": "`Ie: ES - Spain.`"
},
"coordinates": {
"type": "string"
}
},
"required": [
"address",
"city",
"postalCode",
"countrySubdivision",
"country"
]
}
},
"required": [
"@id",
"corporateName",
"fiscalCode",
"email",
"phoneNumber"
]
},
"tour": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Onebox internal unique identifier."
},
"name": {
"type": "string",
"description": "Tour name."
},
"promotorReference": {
"type": "string",
"description": "Promotor reference."
}
},
"required": [
"@id",
"name",
"promotorReference"
]
},
"severalVenues": {
"type": "boolean",
"description": "Is the event performed in different venues?"
},
"severalLocations": {
"type": "boolean",
"description": "Is the event perfomed in different locations?"
},
"supraEvent": {
"type": "boolean",
"description": "Is the event a sibling from another parent event?"
},
"giftTicket": {
"type": "boolean",
"description": "Has this event free entrance tickets allowed?"
},
"nominal": {
"type": "boolean",
"description": "Has the ticket to indicate the owner name / surname / id details?"
},
"eventType": {
"type": "string",
"enum": [
"EVENT",
"ACTIVITY"
]
},
"attribute-values": {
"type": "array",
"items": {
"type": "object",
"properties": {
"attribute-info": {
"type": "object",
"properties": {
"id": {
"type": "number",
"description": "Unique identifier."
},
"name": {
"type": "string"
},
"selection": {
"type": "string",
"enum": [
"SINGLE",
"MULTIPLE"
]
},
"domain-value-info": {
"type": "array",
"items": {
"type": "object",
"properties": {
"idValue": {
"type": "number",
"description": "Unique identifier."
},
"value": {
"type": "string"
},
"referenceCode": {
"type": "string"
}
},
"required": [
"idValue",
"value",
"referenceCode"
]
}
},
"domain": {
"type": "string",
"enum": [
"EVENT",
"SESSION",
"GROUP",
"PROFILE"
]
},
"valueType": {
"type": "string",
"enum": [
"USER_INPUT_INTEGER",
"USER_INPUT_STRING",
"DOMAIN_VALUE"
]
},
"referenceCode": {
"type": "string"
}
},
"required": [
"id",
"name",
"selection",
"domain-value-info",
"domain",
"valueType",
"referenceCode"
]
},
"attribute-value": {
"type": "array",
"items": {
"type": "object",
"properties": {
"user-input-value": {
"type": "object",
"properties": {},
"description": "Unique identifier."
},
"domain-value": {
"type": "object",
"properties": {
"value": {
"type": "string"
},
"idValue": {
"type": "number"
}
},
"required": [
"value"
],
"description": "Unique identifier."
}
}
}
},
"idAttribute": {
"type": "number"
},
"description": {
"type": "string"
}
},
"required": [
"attribute-info",
"attribute-value"
]
}
},
"passbookPreferences": {
"type": [
"object",
"null"
],
"properties": {
"communication-elements": {
"type": "object",
"properties": {
"@language": {
"type": "string",
"description": "Indicates the language of the communitacion event details."
},
"images": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`Image categorization, ie: LOGO_WEB, IMG_BANNER_WEB, IMG_BODY_WEB.`"
},
"@order": {
"type": "number",
"description": "Indicates just the order/priority in case of same type. This number is unique."
},
"$": {
"type": "string",
"description": "Absolute path to the image file."
}
},
"required": [
"@type",
"@order",
"$"
]
},
"description": "List of related images as banners, logo's, backgrounds..."
},
"videos": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`Video categorization.`"
},
"$": {
"type": "string",
"description": "Absolute path to the video file."
}
},
"required": [
"@type",
"$"
]
},
"description": "List of related images as banners, logo's, backgrounds..."
},
"files": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`File categorization.`"
},
"$": {
"type": "string",
"description": "Absolute path to the file."
}
},
"required": [
"@type",
"$"
]
},
"description": "List of related images as banners, logo's, backgrounds..."
},
"banners": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`Banner categorization, ie: CHANNEL_PURCHASE_HEADER_BANNER, CHANNEL_PURCHASE_BANNER, PROMOTER_PURCHASE_BANNER`"
},
"imageUrl": {
"type": "string",
"description": "Absolute path to the banner image file."
},
"linkUrl": {
"type": "string",
"description": "Direct link to the promotional site just in case."
}
},
"required": [
"@type",
"imageUrl"
]
},
"description": "List of related banners to put into a website, pdf, ticket..."
}
},
"required": [
"@language"
]
},
"textColor": {
"type": "string"
},
"labelColor": {
"type": "string"
},
"backgroundColor": {
"type": "string"
}
}
},
"clientEventDiscount": {
"type": "object",
"properties": {
"discountType": {
"type": "string",
"enum": [
"AMOUNT",
"PERCENT"
]
},
"discount": {
"type": "number"
}
},
"required": [
"discountType"
]
}
},
"required": [
"@id",
"internalName",
"externalReferenceCode",
"title",
"subtitle",
"shortDescription",
"longDescription",
"additionalEventData",
"duration",
"severalVenues",
"severalLocations",
"supraEvent",
"giftTicket",
"nominal",
"eventType",
"passbookPreferences"
]
},
"forSale": {
"type": "boolean",
"description": "Indicates the event is whether on sale or not."
},
"blockingReasons": {
"type": "string"
},
"hasProducts": {
"type": "boolean",
"description": "For Onebox box office purposes only."
},
"admission": {
"type": "string",
"enum": [
"ALL_AGES_ADMITTED",
"NOT_ADMITTED_UNDER_4",
"NOT_ADMITTED_UNDER_7",
"NOT_ADMITTED_UNDER_8",
"NOT_ADMITTED_UNDER_12",
"NOT_ADMITTED_UNDER_13",
"NOT_ADMITTED_UNDER_14",
"NOT_ADMITTED_UNDER_16",
"NOT_ADMITTED_UNDER_18",
"NOT_ADMITTED_UNDER_21"
],
"description": "Filter the age range to be admitted as an attendant."
},
"supportedEventType": {
"type": "string",
"enum": [
"EVENT",
"ACTIVITY"
]
},
"supportedVisitorType": {
"type": "string",
"enum": [
"INDIVIDUAL",
"GROUP",
"MIXED"
]
},
"attribute-values": {
"type": "array",
"items": {
"type": "object",
"properties": {
"attribute-info": {
"type": "object",
"properties": {
"id": {
"type": "number",
"description": "Unique identifier."
},
"name": {
"type": "string"
},
"selection": {
"type": "string",
"enum": [
"SINGLE",
"MULTIPLE"
]
},
"domain-value-info": {
"type": "array",
"items": {
"type": "object",
"properties": {
"idValue": {
"type": "number",
"description": "Unique identifier."
},
"value": {
"type": "string"
},
"referenceCode": {
"type": "string"
}
},
"required": [
"idValue",
"value",
"referenceCode"
]
}
},
"domain": {
"type": "string",
"enum": [
"EVENT",
"SESSION",
"GROUP",
"PROFILE"
]
},
"valueType": {
"type": "string",
"enum": [
"USER_INPUT_INTEGER",
"USER_INPUT_STRING",
"DOMAIN_VALUE"
]
},
"referenceCode": {
"type": "string"
}
},
"required": [
"id",
"name",
"selection",
"domain-value-info",
"domain",
"valueType",
"referenceCode"
]
},
"attribute-value": {
"type": "array",
"items": {
"type": "object",
"properties": {
"user-input-value": {
"type": "object",
"properties": {},
"description": "Unique identifier."
},
"domain-value": {
"type": "object",
"properties": {
"value": {
"type": "string"
},
"idValue": {
"type": "number"
}
},
"required": [
"value"
],
"description": "Unique identifier."
}
}
}
},
"idAttribute": {
"type": "number"
},
"description": {
"type": "string"
}
},
"required": [
"attribute-info",
"attribute-value"
]
}
},
"visitorGroupConfig": {
"type": "string"
},
"hideSessionDates": {
"type": "boolean",
"description": "For Onebox box office purposes only."
},
"showDate": {
"type": "boolean",
"description": "For Onebox box office purposes only."
},
"showDatetime": {
"type": "boolean",
"description": "For Onebox box office purposes only."
},
"@rates": {
"type": "string",
"description": "Rate description identifier."
},
"season-session-info": {
"type": "object",
"properties": {},
"description": "Avoided loop. Object just like your ancestor 'season-session-info'"
}
},
"required": [
"@id",
"internalName",
"name",
"description",
"venue",
"space",
"event-basic-info",
"blockingReasons",
"admission",
"supportedEventType",
"supportedVisitorType",
"hideSessionDates",
"showDate",
"showDatetime",
"@rates",
"season-session-info"
]
},
"@isSeasonSession": {
"type": "number",
"description": "Unique season session identifier."
}
},
"required": [
"seasonSessions",
"@isSeasonSession"
]
},
"isGraphicVenue": {
"type": "boolean",
"description": "Is the session a graphic venue?"
},
"nonGraphicImage": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`Image categorization, ie: LOGO_WEB, IMG_BANNER_WEB, IMG_BODY_WEB.`"
},
"@order": {
"type": "number",
"description": "Indicates just the order/priority in case of same type. This number is unique."
},
"$": {
"type": "string",
"description": "Absolute path to the image file."
}
},
"required": [
"@type",
"@order",
"$"
]
},
"sessionMinPrice": {
"type": "object",
"properties": {
"price": {
"type": "number"
},
"charges": {
"type": "object",
"properties": {
"charge": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"enum": [
"CHANNEL_CHARGE",
"PROMOTER_CHARGE",
"PROMOTER_CHANNEL_CHARGE"
]
},
"value 1.5": {
"type": "number",
"description": "Value of the charge."
}
},
"required": [
"value 1.5"
]
}
}
},
"required": [
"charge"
]
}
},
"required": [
"price"
]
},
"sessionMaxPrice": {
"type": "object",
"properties": {
"price": {
"type": "number"
},
"charges": {
"type": "object",
"properties": {
"charge": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"enum": [
"CHANNEL_CHARGE",
"PROMOTER_CHARGE",
"PROMOTER_CHANNEL_CHARGE"
]
},
"value 1.5": {
"type": "number",
"description": "Value of the charge."
}
},
"required": [
"value 1.5"
]
}
}
},
"required": [
"charge"
]
}
},
"required": [
"price"
]
},
"price-zones-availability": {
"type": "object",
"properties": {
"priceZoneAvailability": {
"type": "array",
"items": {
"type": "object",
"properties": {
"originalBasePrice": {
"type": "number",
"description": "PVP public price."
},
"originalBasePriceCharges": {
"type": "object",
"properties": {
"charge": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"enum": [
"CHANNEL_CHARGE",
"PROMOTER_CHARGE",
"PROMOTER_CHANNEL_CHARGE"
]
},
"value 1.5": {
"type": "number",
"description": "Value of the charge."
}
},
"required": [
"value 1.5"
]
}
}
},
"required": [
"charge"
]
},
"automatic-promotion": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique identifier."
},
"promotionComElements": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"description": {
"type": "string"
}
}
},
"type": {
"type": "string",
"enum": [
"PERCENTAGE",
"FIXED",
"UNDEFINED"
]
},
"value": {
"type": "number"
},
"priceZonesIds": {
"type": "object",
"properties": {
"priceZonesId": {
"type": "array"
}
}
},
"group": {
"type": "object",
"properties": {
"i@d": {
"type": "number",
"description": "Unique identifier."
},
"name": {
"type": "string"
},
"validationType": {
"type": "string",
"enum": [
"NONE",
"VENUE",
"INTERNAL",
"CHANNEL"
]
},
"validationMethod": {
"type": "string",
"enum": [
"PROMOTIONAL_CODE",
"USER",
"USER_PASSWORD",
"CREDIT_CARD",
"GIFT_TICKET"
]
}
},
"required": [
"i@d",
"validationType",
"validationMethod"
]
},
"limitedUses": {
"type": "boolean",
"description": "Default false"
}
},
"required": [
"@id",
"type",
"value"
]
},
"promotedPrice": {
"type": "number",
"description": "PVP promoted price just in case there is any promotion applied, otherwise this price will be always the same as originalBasePrice."
},
"promotedPriceCharges": {
"type": "object",
"properties": {
"charge": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"enum": [
"CHANNEL_CHARGE",
"PROMOTER_CHARGE",
"PROMOTER_CHANNEL_CHARGE"
]
},
"value 1.5": {
"type": "number",
"description": "Value of the charge."
}
},
"required": [
"value 1.5"
]
}
}
},
"required": [
"charge"
],
"description": "º"
},
"@id": {
"type": "number",
"description": "Unique identifier."
},
"name": {
"type": "string",
"description": "Description name."
},
"code": {
"type": "string",
"description": "Price zone availability code."
},
"color": {
"type": "string",
"description": "For Onebox internal use only."
},
"availability-info": {
"type": "object",
"properties": {
"total": {
"type": "number",
"description": "Total venue capacity."
},
"available": {
"type": "number",
"description": "Available seats to be reserved."
},
"blockedAvailability": {
"type": "object",
"properties": {
"blockingReasonsAvailability": {
"type": "object",
"properties": {
"blockingReasonAvailability": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique blocking reason availability identifier."
},
"value": {
"type": "number"
}
},
"required": [
"@id"
]
}
}
},
"required": [
"blockingReasonAvailability"
]
}
},
"required": [
"blockingReasonsAvailability"
]
}
},
"required": [
"blockedAvailability"
]
},
"sector-availability": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique identifier."
},
"availability-info": {
"type": "object",
"properties": {
"total": {
"type": "number",
"description": "Total venue capacity."
},
"available": {
"type": "number",
"description": "Available seats to be reserved."
},
"blockedAvailability": {
"type": "object",
"properties": {
"blockingReasonsAvailability": {
"type": "object",
"properties": {
"blockingReasonAvailability": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique blocking reason availability identifier."
},
"value": {
"type": "number"
}
},
"required": [
"@id"
]
}
}
},
"required": [
"blockingReasonAvailability"
]
}
},
"required": [
"blockingReasonsAvailability"
]
}
},
"required": [
"blockedAvailability"
]
}
},
"required": [
"@id",
"availability-info"
]
}
}
},
"required": [
"originalBasePrice",
"originalBasePriceCharges",
"@id",
"name",
"sector-availability"
]
}
}
},
"required": [
"priceZoneAvailability"
]
},
"activity-ticket-types-availability": {
"type": "object",
"properties": {
"activity-ticket-type-availability": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique identifier."
},
"name": {
"type": "string",
"description": "Description name."
},
"code": {
"type": "string",
"description": "Product availability code."
},
"individualPrice": {
"type": "object",
"properties": {
"originalBasePrice": {
"type": "number",
"description": "PVP public price."
},
"originalBasePriceCharges": {
"type": "object",
"properties": {
"charge": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"enum": [
"CHANNEL_CHARGE",
"PROMOTER_CHARGE",
"PROMOTER_CHANNEL_CHARGE"
]
},
"value 1.5": {
"type": "number",
"description": "Value of the charge."
}
},
"required": [
"value 1.5"
]
}
}
},
"required": [
"charge"
]
},
"automatic-promotion": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique identifier."
},
"promotionComElements": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"description": {
"type": "string"
}
}
},
"type": {
"type": "string",
"enum": [
"PERCENTAGE",
"FIXED",
"UNDEFINED"
]
},
"value": {
"type": "number"
},
"priceZonesIds": {
"type": "object",
"properties": {
"priceZonesId": {
"type": "array"
}
}
},
"group": {
"type": "object",
"properties": {
"i@d": {
"type": "number",
"description": "Unique identifier."
},
"name": {
"type": "string"
},
"validationType": {
"type": "string",
"enum": [
"NONE",
"VENUE",
"INTERNAL",
"CHANNEL"
]
},
"validationMethod": {
"type": "string",
"enum": [
"PROMOTIONAL_CODE",
"USER",
"USER_PASSWORD",
"CREDIT_CARD",
"GIFT_TICKET"
]
}
},
"required": [
"i@d",
"validationType",
"validationMethod"
]
},
"limitedUses": {
"type": "boolean",
"description": "Default false"
}
},
"required": [
"@id",
"type",
"value"
]
},
"promotedPrice": {
"type": "number",
"description": "PVP promoted price just in case there is any promotion applied, otherwise this price will be always the same as originalBasePrice."
},
"promotedPriceCharges": {
"type": "object",
"properties": {
"charge": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"enum": [
"CHANNEL_CHARGE",
"PROMOTER_CHARGE",
"PROMOTER_CHANNEL_CHARGE"
]
},
"value 1.5": {
"type": "number",
"description": "Value of the charge."
}
},
"required": [
"value 1.5"
]
}
}
},
"required": [
"charge"
],
"description": "º"
}
},
"required": [
"originalBasePrice",
"originalBasePriceCharges"
]
},
"visitorGroupPrice": {
"type": "object",
"properties": {
"originalBasePrice": {
"type": "number",
"description": "PVP public price."
},
"originalBasePriceCharges": {
"type": "object",
"properties": {
"charge": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"enum": [
"CHANNEL_CHARGE",
"PROMOTER_CHARGE",
"PROMOTER_CHANNEL_CHARGE"
]
},
"value 1.5": {
"type": "number",
"description": "Value of the charge."
}
},
"required": [
"value 1.5"
]
}
}
},
"required": [
"charge"
]
},
"automatic-promotion": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique identifier."
},
"promotionComElements": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"description": {
"type": "string"
}
}
},
"type": {
"type": "string",
"enum": [
"PERCENTAGE",
"FIXED",
"UNDEFINED"
]
},
"value": {
"type": "number"
},
"priceZonesIds": {
"type": "object",
"properties": {
"priceZonesId": {
"type": "array"
}
}
},
"group": {
"type": "object",
"properties": {
"i@d": {
"type": "number",
"description": "Unique identifier."
},
"name": {
"type": "string"
},
"validationType": {
"type": "string",
"enum": [
"NONE",
"VENUE",
"INTERNAL",
"CHANNEL"
]
},
"validationMethod": {
"type": "string",
"enum": [
"PROMOTIONAL_CODE",
"USER",
"USER_PASSWORD",
"CREDIT_CARD",
"GIFT_TICKET"
]
}
},
"required": [
"i@d",
"validationType",
"validationMethod"
]
},
"limitedUses": {
"type": "boolean",
"description": "Default false"
}
},
"required": [
"@id",
"type",
"value"
]
},
"promotedPrice": {
"type": "number",
"description": "PVP promoted price just in case there is any promotion applied, otherwise this price will be always the same as originalBasePrice."
},
"promotedPriceCharges": {
"type": "object",
"properties": {
"charge": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"enum": [
"CHANNEL_CHARGE",
"PROMOTER_CHARGE",
"PROMOTER_CHANNEL_CHARGE"
]
},
"value 1.5": {
"type": "number",
"description": "Value of the charge."
}
},
"required": [
"value 1.5"
]
}
}
},
"required": [
"charge"
],
"description": "º"
}
},
"required": [
"originalBasePrice",
"originalBasePriceCharges"
]
},
"visitorGroupPricingType": {
"type": "string",
"enum": [
"PER_GROUP",
"PER_ASSISTANT"
]
},
"color": {
"type": "string",
"description": "For Onebox internal use only."
},
"availability-info": {
"type": [
"object",
"null"
],
"properties": {
"total": {
"type": "number",
"description": "Total venue capacity."
},
"available": {
"type": "number",
"description": "Available seats to be reserved."
},
"blockedAvailability": {
"type": "object",
"properties": {
"blockingReasonsAvailability": {
"type": "object",
"properties": {
"blockingReasonAvailability": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique blocking reason availability identifier."
},
"value": {
"type": "number"
}
},
"required": [
"@id"
]
}
}
},
"required": [
"blockingReasonAvailability"
]
}
},
"required": [
"blockingReasonsAvailability"
]
}
},
"required": [
"blockedAvailability"
]
},
"sector-availability": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique identifier."
},
"availability-info": {
"type": "object",
"properties": {
"total": {
"type": "number",
"description": "Total venue capacity."
},
"available": {
"type": "number",
"description": "Available seats to be reserved."
},
"blockedAvailability": {
"type": "object",
"properties": {
"blockingReasonsAvailability": {
"type": "object",
"properties": {
"blockingReasonAvailability": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique blocking reason availability identifier."
},
"value": {
"type": "number"
}
},
"required": [
"@id"
]
}
}
},
"required": [
"blockingReasonAvailability"
]
}
},
"required": [
"blockingReasonsAvailability"
]
}
},
"required": [
"blockedAvailability"
]
}
},
"required": [
"@id",
"availability-info"
]
}
}
},
"required": [
"@id",
"name",
"individualPrice",
"visitorGroupPrice",
"visitorGroupPricingType",
"sector-availability"
]
}
}
},
"required": [
"activity-ticket-type-availability"
]
},
"availability-info": {
"type": [
"object",
"null"
],
"properties": {
"total": {
"type": "number",
"description": "Total venue capacity."
},
"available": {
"type": "number",
"description": "Available seats to be reserved."
},
"blockedAvailability": {
"type": "object",
"properties": {
"blockingReasonsAvailability": {
"type": "object",
"properties": {
"blockingReasonAvailability": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique blocking reason availability identifier."
},
"value": {
"type": "number"
}
},
"required": [
"@id"
]
}
}
},
"required": [
"blockingReasonAvailability"
]
}
},
"required": [
"blockingReasonsAvailability"
]
}
},
"required": [
"blockedAvailability"
]
},
"communication-elements": {
"type": [
"object",
"null"
],
"properties": {
"@language": {
"type": "string",
"description": "Indicates the language of the communitacion event details."
},
"images": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`Image categorization, ie: LOGO_WEB, IMG_BANNER_WEB, IMG_BODY_WEB.`"
},
"@order": {
"type": "number",
"description": "Indicates just the order/priority in case of same type. This number is unique."
},
"$": {
"type": "string",
"description": "Absolute path to the image file."
}
},
"required": [
"@type",
"@order",
"$"
]
},
"description": "List of related images as banners, logo's, backgrounds..."
},
"videos": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`Video categorization.`"
},
"$": {
"type": "string",
"description": "Absolute path to the video file."
}
},
"required": [
"@type",
"$"
]
},
"description": "List of related images as banners, logo's, backgrounds..."
},
"files": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`File categorization.`"
},
"$": {
"type": "string",
"description": "Absolute path to the file."
}
},
"required": [
"@type",
"$"
]
},
"description": "List of related images as banners, logo's, backgrounds..."
},
"banners": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`Banner categorization, ie: CHANNEL_PURCHASE_HEADER_BANNER, CHANNEL_PURCHASE_BANNER, PROMOTER_PURCHASE_BANNER`"
},
"imageUrl": {
"type": "string",
"description": "Absolute path to the banner image file."
},
"linkUrl": {
"type": "string",
"description": "Direct link to the promotional site just in case."
}
},
"required": [
"@type",
"imageUrl"
]
},
"description": "List of related banners to put into a website, pdf, ticket..."
}
},
"required": [
"@language"
]
},
"promotions-discounts": {
"type": "object",
"properties": {
"promotions": {
"type": "object",
"properties": {
"promotion": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique promotion identifier."
},
"promotionComElements": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"description": {
"type": "string"
}
}
},
"type": {
"type": "string",
"enum": [
"PERCENTAGE",
"FIXED",
"UNDEFINED"
]
},
"value": {
"type": "number"
},
"priceZonesIds": {
"type": "object",
"properties": {
"priceZonesId": {
"type": "array"
}
}
},
"group": {
"type": "object",
"properties": {
"i@d": {
"type": "number",
"description": "Unique identifier."
},
"name": {
"type": "string"
},
"validationType": {
"type": "string",
"enum": [
"NONE",
"VENUE",
"INTERNAL",
"CHANNEL"
]
},
"validationMethod": {
"type": "string",
"enum": [
"PROMOTIONAL_CODE",
"USER",
"USER_PASSWORD",
"CREDIT_CARD",
"GIFT_TICKET"
]
}
},
"required": [
"i@d",
"validationType",
"validationMethod"
]
},
"restrictions": {
"type": "object",
"properties": {
"packItems": {
"type": "number"
},
"maxItems": {
"type": "number"
},
"minItems": {
"type": "number"
}
}
},
"mandatory": {
"type": "boolean",
"description": "Default false"
},
"self-managed": {
"type": "boolean",
"description": "Default false"
},
"limitedUses": {
"type": "boolean",
"description": "Default false"
},
"dates": {
"type": "object",
"properties": {
"datetime": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"enum": [
"EVENT_BEGIN",
"EVENT_END",
"SESSION_BEGIN",
"SESSION_END",
"SESSION_SALES_BEGIN",
"SESSION_SALES_END",
"PRODUCT_SALES",
"PRODUCT_SALES_END",
"SESSION_PUBLISHED",
"PROMOTION_BEGIN",
"PROMOTION_END",
"SEASON_TICKET_HOLDER_BEGIN",
"SEASON_TICKET_HOLDER_END"
],
"description": "Define the date meaning possibilites."
},
"@pendingConfirmation": {
"type": "boolean",
"description": "Says whether the date is finally commited or not."
},
"@timeZoneId": {
"type": "string",
"description": "Define the time zone worldwide from UTC."
},
"$": {
"type": "string",
"description": "XmlGregorianCalendar representation of the given date."
}
}
}
}
}
}
},
"required": [
"@id",
"type",
"value"
]
}
}
},
"required": [
"promotion"
]
},
"discounts": {
"type": "object",
"properties": {
"promotion": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique promotion identifier."
},
"promotionComElements": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"description": {
"type": "string"
}
}
},
"type": {
"type": "string",
"enum": [
"PERCENTAGE",
"FIXED",
"UNDEFINED"
]
},
"value": {
"type": "number"
},
"priceZonesIds": {
"type": "object",
"properties": {
"priceZonesId": {
"type": "array"
}
}
},
"group": {
"type": "object",
"properties": {
"i@d": {
"type": "number",
"description": "Unique identifier."
},
"name": {
"type": "string"
},
"validationType": {
"type": "string",
"enum": [
"NONE",
"VENUE",
"INTERNAL",
"CHANNEL"
]
},
"validationMethod": {
"type": "string",
"enum": [
"PROMOTIONAL_CODE",
"USER",
"USER_PASSWORD",
"CREDIT_CARD",
"GIFT_TICKET"
]
}
},
"required": [
"i@d",
"validationType",
"validationMethod"
]
},
"restrictions": {
"type": "object",
"properties": {
"packItems": {
"type": "number"
},
"maxItems": {
"type": "number"
},
"minItems": {
"type": "number"
}
}
},
"mandatory": {
"type": "boolean",
"description": "Default false"
},
"self-managed": {
"type": "boolean",
"description": "Default false"
},
"limitedUses": {
"type": "boolean",
"description": "Default false"
},
"dates": {
"type": "object",
"properties": {
"datetime": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"enum": [
"EVENT_BEGIN",
"EVENT_END",
"SESSION_BEGIN",
"SESSION_END",
"SESSION_SALES_BEGIN",
"SESSION_SALES_END",
"PRODUCT_SALES",
"PRODUCT_SALES_END",
"SESSION_PUBLISHED",
"PROMOTION_BEGIN",
"PROMOTION_END",
"SEASON_TICKET_HOLDER_BEGIN",
"SEASON_TICKET_HOLDER_END"
],
"description": "Define the date meaning possibilites."
},
"@pendingConfirmation": {
"type": "boolean",
"description": "Says whether the date is finally commited or not."
},
"@timeZoneId": {
"type": "string",
"description": "Define the time zone worldwide from UTC."
},
"$": {
"type": "string",
"description": "XmlGregorianCalendar representation of the given date."
}
}
}
}
}
}
},
"required": [
"@id",
"type",
"value"
]
}
}
},
"required": [
"promotion"
]
}
}
},
"sector": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique identifier."
},
"sectorName": {
"type": "string",
"description": "Sector name."
}
},
"required": [
"@id",
"sectorName"
]
}
},
"session-properties": {
"type": "object",
"properties": {
"bestSeatsOperationSupported": {
"type": "boolean",
"description": "Default true"
},
"purchaseTicketsLimit": {
"type": "number",
"description": "Ticket purchase limit."
},
"antibotDesired": {
"type": "boolean"
},
"showTime": {
"type": "boolean",
"description": "Default true"
},
"capacityIdAvet": {
"type": "string"
},
"sessionIdAvet": {
"type": "string"
}
}
},
"visitorGroupAvailability": {
"type": [
"object",
"null"
],
"properties": {
"totalVisitorGroups": {
"type": "number",
"description": "For Onebox internal use only."
},
"availableVisitorGroups": {
"type": "number",
"description": "For Onebox internal use only."
}
}
},
"ticketingPartit": {
"type": "string"
}
},
"required": [
"@id",
"internalName",
"name",
"description",
"venue",
"space",
"event-basic-info",
"blockingReasons",
"admission",
"supportedEventType",
"supportedVisitorType",
"hideSessionDates",
"showDate",
"showDatetime",
"@rates",
"season-session-info",
"nonGraphicImage",
"sector",
"session-properties",
"visitorGroupAvailability",
"ticketingPartit"
]
}
}
},
"required": [
"session-info"
]
},
"eventMinPrice": {
"type": "object",
"properties": {
"price": {
"type": "number"
},
"charges": {
"type": "object",
"properties": {
"charge": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"enum": [
"CHANNEL_CHARGE",
"PROMOTER_CHARGE",
"PROMOTER_CHANNEL_CHARGE"
]
},
"value 1.5": {
"type": "number",
"description": "Value of the charge."
}
},
"required": [
"value 1.5"
]
}
}
},
"required": [
"charge"
]
}
},
"required": [
"price"
]
},
"eventMaxPrice": {
"type": "object",
"properties": {
"price": {
"type": "number"
},
"charges": {
"type": "object",
"properties": {
"charge": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"enum": [
"CHANNEL_CHARGE",
"PROMOTER_CHARGE",
"PROMOTER_CHANNEL_CHARGE"
]
},
"value 1.5": {
"type": "number",
"description": "Value of the charge."
}
},
"required": [
"value 1.5"
]
}
}
},
"required": [
"charge"
]
}
},
"required": [
"price"
]
}
},
"required": [
"@id",
"internalName",
"externalReferenceCode",
"title",
"subtitle",
"shortDescription",
"longDescription",
"additionalEventData",
"duration",
"severalVenues",
"severalLocations",
"supraEvent",
"giftTicket",
"nominal",
"eventType",
"passbookPreferences"
]
}Headers
Content-Type: application/json;charset=UTF-8Body
{
"error": "Bad request",
"error_description": "There was a syntax error, check your params request and try it again."
}Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"error": {
"type": "string",
"description": "Short http error code description"
},
"error_description": {
"type": "string",
"description": "Detailed description of the error returned."
}
},
"required": [
"error",
"error_description"
]
}Headers
Content-Type: application/json;charset=UTF-8Body
{
"error": "Unauthorized",
"error_description": "Full authentication is required to access this resource"
}Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"error": {
"type": "string",
"description": "Short http error code description."
},
"error_description": {
"type": "string",
"description": "Detailed description of the error returned."
}
},
"required": [
"error",
"error_description"
]
}Headers
Content-Type: application/json;charset=UTF-8Body
{
"statusCode": 1010,
"responseTime": "08-03-2017 13:46:03.657"
}Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"statusCode": {
"type": "number",
"description": "This is the Onebox error codes. Get the full list here: [go to Onebox error responses](http://developer.oneboxtickets.com/httpresponsecodes.html)"
},
"responseTime": {
"type": "string"
}
},
"required": [
"statusCode",
"responseTime"
]
}Get event infoGET/event/{idEvent}/info{?startDate,endDate,showNotPublishedInfo}
Use this service to get an event and its performances dates with detailed information.
- idEvent
number(required) Example: 1234- startDate
string(optional) Example: 2015-09-01T12:00:00+01:00- endDate
string(optional) Example: 2015-10-01T12:00:00+01:00- showNotPublishedInfo
boolean(optional) Example: false
Sessions and Performances ¶
Headers
Authorization: Bearer [ACCESS_TOKEN]
Content-Type: application/json
Accept: application/json- Headers
traceID:
String: Unique id to identify the transaction within the Onebox API audit systemOB_Error_Code:Number: This is the Onebox error codes. Get the full list here: [go to Onebox error responses](http://developer.oneboxtickets.com/httpresponsecodes.html)
Headers
Content-Type: application/json;charset=UTF-8Body
{
"@id": 5553432,
"internalName": "7 days 1 park",
"name": "7 days 1 park",
"description": "<P ALIGN=\\\"LEFT\\\">Six amazing worlds in just one Park, perfect for having fun in family and frends as well.</P>",
"dates": {
"datetime": [
{
"@type": "EVENT_BEGIN",
"@pendingConfirmation": false,
"@timeZoneId": "Europe/Berlin",
"$": "2018-01-07T19:00:00.000+01:00"
}
]
},
"venue": {
"@id": 432432,
"@name": "World Park",
"@timeZone": "Europe/Berlin",
"communication-elements": {
"@language": "en_US",
"images": [
{
"@type": "LOGO_WEB",
"@order": 1,
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"videos": [
{
"@type": "VIDEO",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"files": [
{
"@type": "FILE",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"banners": [
{
"@type": "CHANNEL_PURCHASE_HEADER_BANNER",
"imageUrl": "https://s3.amazonaws.com/onebox-repository/pro/1/1/itemIdioma/1741/1_image_1340695930723.jpg",
"linkUrl": "http://www.website.com/channel_id"
}
]
},
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
}
},
"space": {
"id": 150,
"name": "SPACE"
},
"event-basic-info": {
"@id": 23454,
"internalName": "7 days 1 park",
"externalReferenceCode": "EXT-123",
"title": "Theme Park",
"subtitle": "¡Discover the 6 worlds adrenaline!",
"shortDescription": "<P ALIGN=\\\"LEFT\\\">Six amazing worlds in just one Park, perfect for having fun in family and frends as well.</P>",
"longDescription": "<P ALIGN=\\\"LEFT\\\">Explore a whole world of fun and know our amazing theme parks. An ideal destination for a family getaway, located in one of the best tourist areas of Spain and just an hour from Barcelona! </ P> <BR/> <P ALIGN = \\ \"LEFT \\\"> The best entertainment, relaxation, gastronomy and shopping you can imagine. > A DESTINY AND SIX WORLDS TO DISCOVER </ P> <P ALIGN = \\ \"LEFT \\\"> Here begins a journey that takes you much further than you can imagine. At the Park we look forward to six fascinating worlds completely different, with a careful decoration to the last detail, so that you enjoy to the maximum. Emotions for all tastes. Families, friends, big and small: in our theme park, all the fun.</P>",
"additionalEventData": "",
"duration": "",
"communication-elements": {
"@language": "en_US",
"images": [
{
"@type": "LOGO_WEB",
"@order": 1,
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"videos": [
{
"@type": "VIDEO",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"files": [
{
"@type": "FILE",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"banners": [
{
"@type": "CHANNEL_PURCHASE_HEADER_BANNER",
"imageUrl": "https://s3.amazonaws.com/onebox-repository/pro/1/1/itemIdioma/1741/1_image_1340695930723.jpg",
"linkUrl": "http://www.website.com/channel_id"
}
]
},
"taxonomy": {
"@id": 68,
"code": "APRTEM",
"description": "Theme Parks",
"superior-taxonomy": {
"@id": 68,
"code": "APRTEM",
"description": "Theme Parks"
}
},
"custom-taxonomy": {
"@id": 68,
"code": "APRTEM",
"description": "Theme Parks"
},
"promoter-custom-taxonomy": {
"@id": 68,
"code": "APRTEM",
"description": "Theme Parks"
},
"languages": {
"language": [
"",
"ca_ES"
]
},
"dates": {
"datetime": [
{
"@type": "EVENT_BEGIN",
"@pendingConfirmation": false,
"@timeZoneId": "Europe/Berlin",
"$": "2018-01-07T19:00:00.000+01:00"
}
]
},
"entidad": {
"@id": 123,
"name": "Theme Park",
"nif": "A54343234",
"email": "info@theme.park",
"phoneNumber": "0034 555 55 55",
"timeZone": "Europe/Madrid",
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
}
},
"promotor": {
"@id": 475,
"corporateName": "Theme Park Entertainment SA.",
"fiscalCode": "A53776307",
"email": "info@theme.park",
"phoneNumber": "0034 555 55 55",
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
}
},
"tour": {
"@id": 475,
"name": "Theme Park",
"promotorReference": "Theme Park Entertainment SA."
},
"severalVenues": false,
"severalLocations": false,
"supraEvent": false,
"giftTicket": false,
"nominal": false,
"eventType": "EVENT",
"attribute-values": [
{
"attribute-info": {
"id": 0,
"name": "",
"selection": "SINGLE",
"domain-value-info": [
{
"idValue": 10,
"value": "oneboxtm",
"referenceCode": "OB"
}
],
"domain": "EVENT",
"valueType": "DOMAIN_VALUE",
"referenceCode": "Attr"
},
"attribute-value": [
{
"user-input-value": {},
"domain-value": {
"value": "``",
"idValue": 30
}
}
],
"idAttribute": 50,
"description": "DESCRIPTION"
}
],
"passbookPreferences": {
"communication-elements": {
"@language": "en_US",
"images": [
{
"@type": "LOGO_WEB",
"@order": 1,
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"videos": [
{
"@type": "VIDEO",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"files": [
{
"@type": "FILE",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"banners": [
{
"@type": "CHANNEL_PURCHASE_HEADER_BANNER",
"imageUrl": "https://s3.amazonaws.com/onebox-repository/pro/1/1/itemIdioma/1741/1_image_1340695930723.jpg",
"linkUrl": "http://www.website.com/channel_id"
}
]
}
},
"clientEventDiscount": {
"discountType": "AMOUNT"
}
},
"forSale": true,
"blockingReasons": "",
"hasProducts": false,
"admission": "ALL_AGES_ADMITTED",
"supportedEventType": "EVENT",
"supportedVisitorType": "INDIVIDUAL",
"attribute-values": [
{
"attribute-info": {
"id": 0,
"name": "",
"selection": "SINGLE",
"domain-value-info": [
{
"idValue": 10,
"value": "oneboxtm",
"referenceCode": "OB"
}
],
"domain": "EVENT",
"valueType": "DOMAIN_VALUE",
"referenceCode": "Attr"
},
"attribute-value": [
{
"user-input-value": {},
"domain-value": {
"value": "``",
"idValue": 30
}
}
],
"idAttribute": 50,
"description": "DESCRIPTION"
}
],
"visitorGroupConfig": "",
"hideSessionDates": false,
"showDate": false,
"showDatetime": false,
"@rates": "7 days 1 park UK/PAP17",
"season-session-info": {
"beginDate": "2015-09-01T12:00:00+01:00",
"endDate": "2015-10-01T12:00:00+01:00",
"idsSeasonSessions": [],
"seasonSessions": {
"@id": 5553432,
"internalName": "7 days 1 park",
"name": "7 days 1 park",
"description": "<P ALIGN=\\\"LEFT\\\">Six amazing worlds in just one Park, perfect for having fun in family and frends as well.</P>",
"dates": {
"datetime": [
{
"@type": "EVENT_BEGIN",
"@pendingConfirmation": false,
"@timeZoneId": "Europe/Berlin",
"$": "2018-01-07T19:00:00.000+01:00"
}
]
},
"venue": {
"@id": 432432,
"@name": "World Park",
"@timeZone": "Europe/Berlin",
"communication-elements": {
"@language": "en_US",
"images": [
{
"@type": "LOGO_WEB",
"@order": 1,
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"videos": [
{
"@type": "VIDEO",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"files": [
{
"@type": "FILE",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"banners": [
{
"@type": "CHANNEL_PURCHASE_HEADER_BANNER",
"imageUrl": "https://s3.amazonaws.com/onebox-repository/pro/1/1/itemIdioma/1741/1_image_1340695930723.jpg",
"linkUrl": "http://www.website.com/channel_id"
}
]
},
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
}
},
"space": {
"id": 150,
"name": "SPACE"
},
"event-basic-info": {
"@id": 23454,
"internalName": "7 days 1 park",
"externalReferenceCode": "EXT-123",
"title": "Theme Park",
"subtitle": "¡Discover the 6 worlds adrenaline!",
"shortDescription": "<P ALIGN=\\\"LEFT\\\">Six amazing worlds in just one Park, perfect for having fun in family and frends as well.</P>",
"longDescription": "<P ALIGN=\\\"LEFT\\\">Explore a whole world of fun and know our amazing theme parks. An ideal destination for a family getaway, located in one of the best tourist areas of Spain and just an hour from Barcelona! </ P> <BR/> <P ALIGN = \\ \"LEFT \\\"> The best entertainment, relaxation, gastronomy and shopping you can imagine. > A DESTINY AND SIX WORLDS TO DISCOVER </ P> <P ALIGN = \\ \"LEFT \\\"> Here begins a journey that takes you much further than you can imagine. At the Park we look forward to six fascinating worlds completely different, with a careful decoration to the last detail, so that you enjoy to the maximum. Emotions for all tastes. Families, friends, big and small: in our theme park, all the fun.</P>",
"additionalEventData": "",
"duration": "",
"communication-elements": {
"@language": "en_US",
"images": [
{
"@type": "LOGO_WEB",
"@order": 1,
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"videos": [
{
"@type": "VIDEO",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"files": [
{
"@type": "FILE",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"banners": [
{
"@type": "CHANNEL_PURCHASE_HEADER_BANNER",
"imageUrl": "https://s3.amazonaws.com/onebox-repository/pro/1/1/itemIdioma/1741/1_image_1340695930723.jpg",
"linkUrl": "http://www.website.com/channel_id"
}
]
},
"taxonomy": {
"@id": 68,
"code": "APRTEM",
"description": "Theme Parks",
"superior-taxonomy": {
"@id": 68,
"code": "APRTEM",
"description": "Theme Parks"
}
},
"custom-taxonomy": {
"@id": 68,
"code": "APRTEM",
"description": "Theme Parks"
},
"promoter-custom-taxonomy": {
"@id": 68,
"code": "APRTEM",
"description": "Theme Parks"
},
"languages": {
"language": [
"",
"ca_ES"
]
},
"dates": {
"datetime": [
{
"@type": "EVENT_BEGIN",
"@pendingConfirmation": false,
"@timeZoneId": "Europe/Berlin",
"$": "2018-01-07T19:00:00.000+01:00"
}
]
},
"entidad": {
"@id": 123,
"name": "Theme Park",
"nif": "A54343234",
"email": "info@theme.park",
"phoneNumber": "0034 555 55 55",
"timeZone": "Europe/Madrid",
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
}
},
"promotor": {
"@id": 475,
"corporateName": "Theme Park Entertainment SA.",
"fiscalCode": "A53776307",
"email": "info@theme.park",
"phoneNumber": "0034 555 55 55",
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
}
},
"tour": {
"@id": 475,
"name": "Theme Park",
"promotorReference": "Theme Park Entertainment SA."
},
"severalVenues": false,
"severalLocations": false,
"supraEvent": false,
"giftTicket": false,
"nominal": false,
"eventType": "EVENT",
"attribute-values": [
{
"attribute-info": {
"id": 0,
"name": "",
"selection": "SINGLE",
"domain-value-info": [
{
"idValue": 10,
"value": "oneboxtm",
"referenceCode": "OB"
}
],
"domain": "EVENT",
"valueType": "DOMAIN_VALUE",
"referenceCode": "Attr"
},
"attribute-value": [
{
"user-input-value": {},
"domain-value": {
"value": "``",
"idValue": 30
}
}
],
"idAttribute": 50,
"description": "DESCRIPTION"
}
],
"passbookPreferences": {
"communication-elements": {
"@language": "en_US",
"images": [
{
"@type": "LOGO_WEB",
"@order": 1,
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"videos": [
{
"@type": "VIDEO",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"files": [
{
"@type": "FILE",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"banners": [
{
"@type": "CHANNEL_PURCHASE_HEADER_BANNER",
"imageUrl": "https://s3.amazonaws.com/onebox-repository/pro/1/1/itemIdioma/1741/1_image_1340695930723.jpg",
"linkUrl": "http://www.website.com/channel_id"
}
]
}
},
"clientEventDiscount": {
"discountType": "AMOUNT"
}
},
"forSale": true,
"blockingReasons": "",
"hasProducts": false,
"admission": "ALL_AGES_ADMITTED",
"supportedEventType": "EVENT",
"supportedVisitorType": "INDIVIDUAL",
"attribute-values": [
{
"attribute-info": {
"id": 0,
"name": "",
"selection": "SINGLE",
"domain-value-info": [
{
"idValue": 10,
"value": "oneboxtm",
"referenceCode": "OB"
}
],
"domain": "EVENT",
"valueType": "DOMAIN_VALUE",
"referenceCode": "Attr"
},
"attribute-value": [
{
"user-input-value": {},
"domain-value": {
"value": "``",
"idValue": 30
}
}
],
"idAttribute": 50,
"description": "DESCRIPTION"
}
],
"visitorGroupConfig": "",
"hideSessionDates": false,
"showDate": false,
"showDatetime": false,
"@rates": "7 days 1 park UK/PAP17",
"season-session-info": {}
},
"@isSeasonSession": 0
},
"isGraphicVenue": false,
"nonGraphicImage": {
"@type": "LOGO_WEB",
"@order": 1,
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
},
"sessionMinPrice": {
"price": 0,
"charges": {
"charge": [
{
"@type": "CHANNEL_CHARGE",
"value 1.5": 0
}
]
}
},
"sessionMaxPrice": {
"price": 10,
"charges": {
"charge": [
{
"@type": "CHANNEL_CHARGE",
"value 1.5": 0
}
]
}
},
"price-zones-availability": {
"priceZoneAvailability": [
{
"originalBasePrice": 100,
"originalBasePriceCharges": {
"charge": [
{
"@type": "CHANNEL_CHARGE",
"value 1.5": 0
}
]
},
"automatic-promotion": {
"@id": 30,
"promotionComElements": {
"name": "NAME",
"description": "DESCRIPTION"
},
"type": "PERCENTAGE",
"value": 10,
"priceZonesIds": {
"priceZonesId": [
10,
12,
15
]
},
"group": {
"i@d": 30,
"name": "NAME",
"validationType": "CHANNEL",
"validationMethod": "PROMOTIONAL_CODE"
},
"limitedUses": false
},
"promotedPrice": 100,
"promotedPriceCharges": {
"charge": [
{
"@type": "CHANNEL_CHARGE",
"value 1.5": 0
}
]
},
"@id": 555,
"name": "NAME",
"code": "ZP1",
"color": "#FFFFFF",
"availability-info": {
"total": 2500,
"available": 2000,
"blockedAvailability": {
"blockingReasonsAvailability": {
"blockingReasonAvailability": [
{
"@id": 10,
"value": 10
}
]
}
}
},
"sector-availability": [
{
"@id": 100,
"availability-info": {
"total": 2500,
"available": 2000,
"blockedAvailability": {
"blockingReasonsAvailability": {
"blockingReasonAvailability": [
{
"@id": 10,
"value": 10
}
]
}
}
}
}
]
}
]
},
"activity-ticket-types-availability": {
"activity-ticket-type-availability": [
{
"@id": 555,
"name": "NAME",
"code": "ZP1",
"individualPrice": {
"originalBasePrice": 100,
"originalBasePriceCharges": {
"charge": [
{
"@type": "CHANNEL_CHARGE",
"value 1.5": 0
}
]
},
"automatic-promotion": {
"@id": 30,
"promotionComElements": {
"name": "NAME",
"description": "DESCRIPTION"
},
"type": "PERCENTAGE",
"value": 10,
"priceZonesIds": {
"priceZonesId": [
10,
12,
15
]
},
"group": {
"i@d": 30,
"name": "NAME",
"validationType": "CHANNEL",
"validationMethod": "PROMOTIONAL_CODE"
},
"limitedUses": false
},
"promotedPrice": 100,
"promotedPriceCharges": {
"charge": [
{
"@type": "CHANNEL_CHARGE",
"value 1.5": 0
}
]
}
},
"visitorGroupPrice": {
"originalBasePrice": 100,
"originalBasePriceCharges": {
"charge": [
{
"@type": "CHANNEL_CHARGE",
"value 1.5": 0
}
]
},
"automatic-promotion": {
"@id": 30,
"promotionComElements": {
"name": "NAME",
"description": "DESCRIPTION"
},
"type": "PERCENTAGE",
"value": 10,
"priceZonesIds": {
"priceZonesId": [
10,
12,
15
]
},
"group": {
"i@d": 30,
"name": "NAME",
"validationType": "CHANNEL",
"validationMethod": "PROMOTIONAL_CODE"
},
"limitedUses": false
},
"promotedPrice": 100,
"promotedPriceCharges": {
"charge": [
{
"@type": "CHANNEL_CHARGE",
"value 1.5": 0
}
]
}
},
"visitorGroupPricingType": "PER_ASSISTANT",
"color": "#FFFFFF",
"availability-info": {
"total": 2500,
"available": 2000,
"blockedAvailability": {
"blockingReasonsAvailability": {
"blockingReasonAvailability": [
{
"@id": 10,
"value": 10
}
]
}
}
},
"sector-availability": [
{
"@id": 100,
"availability-info": {
"total": 2500,
"available": 2000,
"blockedAvailability": {
"blockingReasonsAvailability": {
"blockingReasonAvailability": [
{
"@id": 10,
"value": 10
}
]
}
}
}
}
]
}
]
},
"availability-info": {
"total": 2500,
"available": 2000,
"blockedAvailability": {
"blockingReasonsAvailability": {
"blockingReasonAvailability": [
{
"@id": 10,
"value": 10
}
]
}
}
},
"communication-elements": {
"@language": "en_US",
"images": [
{
"@type": "LOGO_WEB",
"@order": 1,
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"videos": [
{
"@type": "VIDEO",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"files": [
{
"@type": "FILE",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"banners": [
{
"@type": "CHANNEL_PURCHASE_HEADER_BANNER",
"imageUrl": "https://s3.amazonaws.com/onebox-repository/pro/1/1/itemIdioma/1741/1_image_1340695930723.jpg",
"linkUrl": "http://www.website.com/channel_id"
}
]
},
"promotions-discounts": {
"promotions": {
"promotion": [
{
"@id": 30,
"promotionComElements": {
"name": "NAME",
"description": "DESCRIPTION"
},
"type": "PERCENTAGE",
"value": 10,
"priceZonesIds": {
"priceZonesId": [
10,
12,
15
]
},
"group": {
"i@d": 30,
"name": "NAME",
"validationType": "CHANNEL",
"validationMethod": "PROMOTIONAL_CODE"
},
"restrictions": {
"packItems": 0,
"maxItems": 0,
"minItems": 0
},
"mandatory": false,
"self-managed": false,
"limitedUses": false,
"dates": {
"datetime": [
{
"@type": "EVENT_BEGIN",
"@pendingConfirmation": false,
"@timeZoneId": "Europe/Berlin",
"$": "2018-01-07T19:00:00.000+01:00"
}
]
}
}
]
},
"discounts": {
"promotion": [
{
"@id": 30,
"promotionComElements": {
"name": "NAME",
"description": "DESCRIPTION"
},
"type": "PERCENTAGE",
"value": 10,
"priceZonesIds": {
"priceZonesId": [
10,
12,
15
]
},
"group": {
"i@d": 30,
"name": "NAME",
"validationType": "CHANNEL",
"validationMethod": "PROMOTIONAL_CODE"
},
"restrictions": {
"packItems": 0,
"maxItems": 0,
"minItems": 0
},
"mandatory": false,
"self-managed": false,
"limitedUses": false,
"dates": {
"datetime": [
{
"@type": "EVENT_BEGIN",
"@pendingConfirmation": false,
"@timeZoneId": "Europe/Berlin",
"$": "2018-01-07T19:00:00.000+01:00"
}
]
}
}
]
}
},
"sector": [
{
"@id": 222,
"sectorName": "SECTOR"
}
],
"session-properties": {
"bestSeatsOperationSupported": true,
"purchaseTicketsLimit": 1,
"antibotDesired": false,
"showTime": true
},
"visitorGroupAvailability": {
"totalVisitorGroups": 0,
"availableVisitorGroups": 0
},
"ticketingPartit": "TICKET"
}Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "`Onebox session/performance unique identifier.`"
},
"internalName": {
"type": "string",
"description": "Product internal description name."
},
"name": {
"type": "string",
"description": "Public product name depending on the language requestd."
},
"description": {
"type": "string",
"description": "Session description"
},
"dates": {
"type": "object",
"properties": {
"datetime": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"enum": [
"EVENT_BEGIN",
"EVENT_END",
"SESSION_BEGIN",
"SESSION_END",
"SESSION_SALES_BEGIN",
"SESSION_SALES_END",
"PRODUCT_SALES",
"PRODUCT_SALES_END",
"SESSION_PUBLISHED",
"PROMOTION_BEGIN",
"PROMOTION_END",
"SEASON_TICKET_HOLDER_BEGIN",
"SEASON_TICKET_HOLDER_END"
],
"description": "Define the date meaning possibilites."
},
"@pendingConfirmation": {
"type": "boolean",
"description": "Says whether the date is finally commited or not."
},
"@timeZoneId": {
"type": "string",
"description": "Define the time zone worldwide from UTC."
},
"$": {
"type": "string",
"description": "XmlGregorianCalendar representation of the given date."
}
}
}
}
}
},
"venue": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Onebox internal venue unique identifier."
},
"@name": {
"type": "string",
"description": "Public venue name."
},
"@timeZone": {
"type": "string",
"description": "Define the time zone worldwide from UTC."
},
"communication-elements": {
"type": "object",
"properties": {
"@language": {
"type": "string",
"description": "Indicates the language of the communitacion event details."
},
"images": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`Image categorization, ie: LOGO_WEB, IMG_BANNER_WEB, IMG_BODY_WEB.`"
},
"@order": {
"type": "number",
"description": "Indicates just the order/priority in case of same type. This number is unique."
},
"$": {
"type": "string",
"description": "Absolute path to the image file."
}
},
"required": [
"@type",
"@order",
"$"
]
},
"description": "List of related images as banners, logo's, backgrounds..."
},
"videos": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`Video categorization.`"
},
"$": {
"type": "string",
"description": "Absolute path to the video file."
}
},
"required": [
"@type",
"$"
]
},
"description": "List of related images as banners, logo's, backgrounds..."
},
"files": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`File categorization.`"
},
"$": {
"type": "string",
"description": "Absolute path to the file."
}
},
"required": [
"@type",
"$"
]
},
"description": "List of related images as banners, logo's, backgrounds..."
},
"banners": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`Banner categorization, ie: CHANNEL_PURCHASE_HEADER_BANNER, CHANNEL_PURCHASE_BANNER, PROMOTER_PURCHASE_BANNER`"
},
"imageUrl": {
"type": "string",
"description": "Absolute path to the banner image file."
},
"linkUrl": {
"type": "string",
"description": "Direct link to the promotional site just in case."
}
},
"required": [
"@type",
"imageUrl"
]
},
"description": "List of related banners to put into a website, pdf, ticket..."
}
},
"required": [
"@language"
]
},
"location": {
"type": "object",
"properties": {
"address": {
"type": "string",
"description": "Venue address where the event will be performed."
},
"city": {
"type": "string",
"description": "City where the event will be performed."
},
"postalCode": {
"type": "string",
"description": "Postal code or zip code where the event will be performed."
},
"countrySubdivision": {
"type": "object",
"properties": {
"@code": {
"type": "string",
"description": "Item unique identifier."
},
"$": {
"type": "string",
"description": "Item value string."
}
},
"required": [
"@code",
"$"
],
"description": "`Country subdivision, this shall be the province, state or county. Ie: ES-T - Tarragona.`"
},
"country": {
"type": "object",
"properties": {
"@code": {
"type": "string",
"description": "Item unique identifier."
},
"$": {
"type": "string",
"description": "Item value string."
}
},
"required": [
"@code",
"$"
],
"description": "`Ie: ES - Spain.`"
},
"coordinates": {
"type": "string"
}
},
"required": [
"address",
"city",
"postalCode",
"countrySubdivision",
"country"
]
}
},
"required": [
"@id",
"@name"
]
},
"space": {
"type": "object",
"properties": {
"id": {
"type": "number",
"description": "Unique space identifier."
},
"name": {
"type": "string",
"description": "Space name."
}
}
},
"event-basic-info": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique identifier for each event/activity product."
},
"internalName": {
"type": "string",
"description": "Product internal description name."
},
"externalReferenceCode": {
"type": "string",
"description": "In case of product from 3rd party suppliers, those came with its own reference."
},
"title": {
"type": "string",
"description": "Event main title"
},
"subtitle": {
"type": "string",
"description": "Event secondary title"
},
"shortDescription": {
"type": "string",
"description": "Event short description"
},
"longDescription": {
"type": "string",
"description": "Event detailed description"
},
"additionalEventData": {
"type": "string"
},
"duration": {
"type": "string"
},
"communication-elements": {
"type": "object",
"properties": {
"@language": {
"type": "string",
"description": "Indicates the language of the communitacion event details."
},
"images": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`Image categorization, ie: LOGO_WEB, IMG_BANNER_WEB, IMG_BODY_WEB.`"
},
"@order": {
"type": "number",
"description": "Indicates just the order/priority in case of same type. This number is unique."
},
"$": {
"type": "string",
"description": "Absolute path to the image file."
}
},
"required": [
"@type",
"@order",
"$"
]
},
"description": "List of related images as banners, logo's, backgrounds..."
},
"videos": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`Video categorization.`"
},
"$": {
"type": "string",
"description": "Absolute path to the video file."
}
},
"required": [
"@type",
"$"
]
},
"description": "List of related images as banners, logo's, backgrounds..."
},
"files": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`File categorization.`"
},
"$": {
"type": "string",
"description": "Absolute path to the file."
}
},
"required": [
"@type",
"$"
]
},
"description": "List of related images as banners, logo's, backgrounds..."
},
"banners": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`Banner categorization, ie: CHANNEL_PURCHASE_HEADER_BANNER, CHANNEL_PURCHASE_BANNER, PROMOTER_PURCHASE_BANNER`"
},
"imageUrl": {
"type": "string",
"description": "Absolute path to the banner image file."
},
"linkUrl": {
"type": "string",
"description": "Direct link to the promotional site just in case."
}
},
"required": [
"@type",
"imageUrl"
]
},
"description": "List of related banners to put into a website, pdf, ticket..."
}
},
"required": [
"@language"
]
},
"taxonomy": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique identifier of this product segmentation."
},
"code": {
"type": "string",
"description": "Unique identifier fo this product segmentation to be used in th API."
},
"description": {
"type": "string",
"description": "Short description to better understand the taxonomy segmentation."
},
"superior-taxonomy": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique identifier of this product segmentation."
},
"code": {
"type": "string",
"description": "Unique identifier fo this product segmentation to be used in th API."
},
"description": {
"type": "string",
"description": "Short description to better understand the taxonomy segmentation."
}
},
"required": [
"@id",
"code"
]
}
},
"required": [
"@id",
"code"
]
},
"custom-taxonomy": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique identifier of this product segmentation."
},
"code": {
"type": "string",
"description": "Unique identifier fo this product segmentation to be used in th API."
},
"description": {
"type": "string",
"description": "Short description to better understand the taxonomy segmentation."
}
},
"required": [
"@id",
"code"
]
},
"promoter-custom-taxonomy": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique identifier of this product segmentation."
},
"code": {
"type": "string",
"description": "Unique identifier fo this product segmentation to be used in th API."
},
"description": {
"type": "string",
"description": "Short description to better understand the taxonomy segmentation."
}
},
"required": [
"@id",
"code"
]
},
"languages": {
"type": "object",
"properties": {
"language": {
"type": "array",
"items": [
{},
{
"type": "string",
"enum": [
"ca_ES",
"es_ES",
"en_US",
"fr_FR",
"it_IT",
"de_DE"
]
}
],
"description": "`List of the available languages for the event descriptions.`"
}
}
},
"dates": {
"type": "object",
"properties": {
"datetime": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"enum": [
"EVENT_BEGIN",
"EVENT_END",
"SESSION_BEGIN",
"SESSION_END",
"SESSION_SALES_BEGIN",
"SESSION_SALES_END",
"PRODUCT_SALES",
"PRODUCT_SALES_END",
"SESSION_PUBLISHED",
"PROMOTION_BEGIN",
"PROMOTION_END",
"SEASON_TICKET_HOLDER_BEGIN",
"SEASON_TICKET_HOLDER_END"
],
"description": "Define the date meaning possibilites."
},
"@pendingConfirmation": {
"type": "boolean",
"description": "Says whether the date is finally commited or not."
},
"@timeZoneId": {
"type": "string",
"description": "Define the time zone worldwide from UTC."
},
"$": {
"type": "string",
"description": "XmlGregorianCalendar representation of the given date."
}
}
}
}
}
},
"entidad": {
"type": "object",
"properties": {
"@id": {
"type": "number"
},
"name": {
"type": "string",
"description": "Promotor/Organizer company name."
},
"nif": {
"type": "string",
"description": "Tax/Vat unique identifier number."
},
"email": {
"type": "string"
},
"phoneNumber": {
"type": "string"
},
"timeZone": {
"type": "string"
},
"location": {
"type": "object",
"properties": {
"address": {
"type": "string",
"description": "Venue address where the event will be performed."
},
"city": {
"type": "string",
"description": "City where the event will be performed."
},
"postalCode": {
"type": "string",
"description": "Postal code or zip code where the event will be performed."
},
"countrySubdivision": {
"type": "object",
"properties": {
"@code": {
"type": "string",
"description": "Item unique identifier."
},
"$": {
"type": "string",
"description": "Item value string."
}
},
"required": [
"@code",
"$"
],
"description": "`Country subdivision, this shall be the province, state or county. Ie: ES-T - Tarragona.`"
},
"country": {
"type": "object",
"properties": {
"@code": {
"type": "string",
"description": "Item unique identifier."
},
"$": {
"type": "string",
"description": "Item value string."
}
},
"required": [
"@code",
"$"
],
"description": "`Ie: ES - Spain.`"
},
"coordinates": {
"type": "string"
}
},
"required": [
"address",
"city",
"postalCode",
"countrySubdivision",
"country"
]
}
},
"required": [
"@id",
"name",
"nif",
"email",
"phoneNumber",
"timeZone"
]
},
"promotor": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Onebox internal unique identifier."
},
"corporateName": {
"type": "string"
},
"fiscalCode": {
"type": "string",
"description": "Tax/Vat unique identifier number."
},
"email": {
"type": "string"
},
"phoneNumber": {
"type": "string"
},
"location": {
"type": "object",
"properties": {
"address": {
"type": "string",
"description": "Venue address where the event will be performed."
},
"city": {
"type": "string",
"description": "City where the event will be performed."
},
"postalCode": {
"type": "string",
"description": "Postal code or zip code where the event will be performed."
},
"countrySubdivision": {
"type": "object",
"properties": {
"@code": {
"type": "string",
"description": "Item unique identifier."
},
"$": {
"type": "string",
"description": "Item value string."
}
},
"required": [
"@code",
"$"
],
"description": "`Country subdivision, this shall be the province, state or county. Ie: ES-T - Tarragona.`"
},
"country": {
"type": "object",
"properties": {
"@code": {
"type": "string",
"description": "Item unique identifier."
},
"$": {
"type": "string",
"description": "Item value string."
}
},
"required": [
"@code",
"$"
],
"description": "`Ie: ES - Spain.`"
},
"coordinates": {
"type": "string"
}
},
"required": [
"address",
"city",
"postalCode",
"countrySubdivision",
"country"
]
}
},
"required": [
"@id",
"corporateName",
"fiscalCode",
"email",
"phoneNumber"
]
},
"tour": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Onebox internal unique identifier."
},
"name": {
"type": "string",
"description": "Tour name."
},
"promotorReference": {
"type": "string",
"description": "Promotor reference."
}
},
"required": [
"@id",
"name",
"promotorReference"
]
},
"severalVenues": {
"type": "boolean",
"description": "Is the event performed in different venues?"
},
"severalLocations": {
"type": "boolean",
"description": "Is the event perfomed in different locations?"
},
"supraEvent": {
"type": "boolean",
"description": "Is the event a sibling from another parent event?"
},
"giftTicket": {
"type": "boolean",
"description": "Has this event free entrance tickets allowed?"
},
"nominal": {
"type": "boolean",
"description": "Has the ticket to indicate the owner name / surname / id details?"
},
"eventType": {
"type": "string",
"enum": [
"EVENT",
"ACTIVITY"
]
},
"attribute-values": {
"type": "array",
"items": {
"type": "object",
"properties": {
"attribute-info": {
"type": "object",
"properties": {
"id": {
"type": "number",
"description": "Unique identifier."
},
"name": {
"type": "string"
},
"selection": {
"type": "string",
"enum": [
"SINGLE",
"MULTIPLE"
]
},
"domain-value-info": {
"type": "array",
"items": {
"type": "object",
"properties": {
"idValue": {
"type": "number",
"description": "Unique identifier."
},
"value": {
"type": "string"
},
"referenceCode": {
"type": "string"
}
},
"required": [
"idValue",
"value",
"referenceCode"
]
}
},
"domain": {
"type": "string",
"enum": [
"EVENT",
"SESSION",
"GROUP",
"PROFILE"
]
},
"valueType": {
"type": "string",
"enum": [
"USER_INPUT_INTEGER",
"USER_INPUT_STRING",
"DOMAIN_VALUE"
]
},
"referenceCode": {
"type": "string"
}
},
"required": [
"id",
"name",
"selection",
"domain-value-info",
"domain",
"valueType",
"referenceCode"
]
},
"attribute-value": {
"type": "array",
"items": {
"type": "object",
"properties": {
"user-input-value": {
"type": "object",
"properties": {},
"description": "Unique identifier."
},
"domain-value": {
"type": "object",
"properties": {
"value": {
"type": "string"
},
"idValue": {
"type": "number"
}
},
"required": [
"value"
],
"description": "Unique identifier."
}
}
}
},
"idAttribute": {
"type": "number"
},
"description": {
"type": "string"
}
},
"required": [
"attribute-info",
"attribute-value"
]
}
},
"passbookPreferences": {
"type": [
"object",
"null"
],
"properties": {
"communication-elements": {
"type": "object",
"properties": {
"@language": {
"type": "string",
"description": "Indicates the language of the communitacion event details."
},
"images": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`Image categorization, ie: LOGO_WEB, IMG_BANNER_WEB, IMG_BODY_WEB.`"
},
"@order": {
"type": "number",
"description": "Indicates just the order/priority in case of same type. This number is unique."
},
"$": {
"type": "string",
"description": "Absolute path to the image file."
}
},
"required": [
"@type",
"@order",
"$"
]
},
"description": "List of related images as banners, logo's, backgrounds..."
},
"videos": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`Video categorization.`"
},
"$": {
"type": "string",
"description": "Absolute path to the video file."
}
},
"required": [
"@type",
"$"
]
},
"description": "List of related images as banners, logo's, backgrounds..."
},
"files": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`File categorization.`"
},
"$": {
"type": "string",
"description": "Absolute path to the file."
}
},
"required": [
"@type",
"$"
]
},
"description": "List of related images as banners, logo's, backgrounds..."
},
"banners": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`Banner categorization, ie: CHANNEL_PURCHASE_HEADER_BANNER, CHANNEL_PURCHASE_BANNER, PROMOTER_PURCHASE_BANNER`"
},
"imageUrl": {
"type": "string",
"description": "Absolute path to the banner image file."
},
"linkUrl": {
"type": "string",
"description": "Direct link to the promotional site just in case."
}
},
"required": [
"@type",
"imageUrl"
]
},
"description": "List of related banners to put into a website, pdf, ticket..."
}
},
"required": [
"@language"
]
},
"textColor": {
"type": "string"
},
"labelColor": {
"type": "string"
},
"backgroundColor": {
"type": "string"
}
}
},
"clientEventDiscount": {
"type": "object",
"properties": {
"discountType": {
"type": "string",
"enum": [
"AMOUNT",
"PERCENT"
]
},
"discount": {
"type": "number"
}
},
"required": [
"discountType"
]
}
},
"required": [
"@id",
"internalName",
"externalReferenceCode",
"title",
"subtitle",
"shortDescription",
"longDescription",
"additionalEventData",
"duration",
"severalVenues",
"severalLocations",
"supraEvent",
"giftTicket",
"nominal",
"eventType",
"passbookPreferences"
]
},
"forSale": {
"type": "boolean",
"description": "Indicates the event is whether on sale or not."
},
"blockingReasons": {
"type": "string"
},
"hasProducts": {
"type": "boolean",
"description": "For Onebox box office purposes only."
},
"admission": {
"type": "string",
"enum": [
"ALL_AGES_ADMITTED",
"NOT_ADMITTED_UNDER_4",
"NOT_ADMITTED_UNDER_7",
"NOT_ADMITTED_UNDER_8",
"NOT_ADMITTED_UNDER_12",
"NOT_ADMITTED_UNDER_13",
"NOT_ADMITTED_UNDER_14",
"NOT_ADMITTED_UNDER_16",
"NOT_ADMITTED_UNDER_18",
"NOT_ADMITTED_UNDER_21"
],
"description": "Filter the age range to be admitted as an attendant."
},
"supportedEventType": {
"type": "string",
"enum": [
"EVENT",
"ACTIVITY"
]
},
"supportedVisitorType": {
"type": "string",
"enum": [
"INDIVIDUAL",
"GROUP",
"MIXED"
]
},
"attribute-values": {
"type": "array",
"items": {
"type": "object",
"properties": {
"attribute-info": {
"type": "object",
"properties": {
"id": {
"type": "number",
"description": "Unique identifier."
},
"name": {
"type": "string"
},
"selection": {
"type": "string",
"enum": [
"SINGLE",
"MULTIPLE"
]
},
"domain-value-info": {
"type": "array",
"items": {
"type": "object",
"properties": {
"idValue": {
"type": "number",
"description": "Unique identifier."
},
"value": {
"type": "string"
},
"referenceCode": {
"type": "string"
}
},
"required": [
"idValue",
"value",
"referenceCode"
]
}
},
"domain": {
"type": "string",
"enum": [
"EVENT",
"SESSION",
"GROUP",
"PROFILE"
]
},
"valueType": {
"type": "string",
"enum": [
"USER_INPUT_INTEGER",
"USER_INPUT_STRING",
"DOMAIN_VALUE"
]
},
"referenceCode": {
"type": "string"
}
},
"required": [
"id",
"name",
"selection",
"domain-value-info",
"domain",
"valueType",
"referenceCode"
]
},
"attribute-value": {
"type": "array",
"items": {
"type": "object",
"properties": {
"user-input-value": {
"type": "object",
"properties": {},
"description": "Unique identifier."
},
"domain-value": {
"type": "object",
"properties": {
"value": {
"type": "string"
},
"idValue": {
"type": "number"
}
},
"required": [
"value"
],
"description": "Unique identifier."
}
}
}
},
"idAttribute": {
"type": "number"
},
"description": {
"type": "string"
}
},
"required": [
"attribute-info",
"attribute-value"
]
}
},
"visitorGroupConfig": {
"type": "string"
},
"hideSessionDates": {
"type": "boolean",
"description": "For Onebox box office purposes only."
},
"showDate": {
"type": "boolean",
"description": "For Onebox box office purposes only."
},
"showDatetime": {
"type": "boolean",
"description": "For Onebox box office purposes only."
},
"@rates": {
"type": "string",
"description": "Rate description identifier."
},
"season-session-info": {
"type": "object",
"properties": {
"beginDate": {
"type": "string"
},
"endDate": {
"type": "string"
},
"idsSeasonSessions": {
"type": "array"
},
"seasonSessions": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "`Onebox session/performance unique identifier.`"
},
"internalName": {
"type": "string",
"description": "Product internal description name."
},
"name": {
"type": "string",
"description": "Public product name depending on the language requestd."
},
"description": {
"type": "string",
"description": "Session description"
},
"dates": {
"type": "object",
"properties": {
"datetime": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"enum": [
"EVENT_BEGIN",
"EVENT_END",
"SESSION_BEGIN",
"SESSION_END",
"SESSION_SALES_BEGIN",
"SESSION_SALES_END",
"PRODUCT_SALES",
"PRODUCT_SALES_END",
"SESSION_PUBLISHED",
"PROMOTION_BEGIN",
"PROMOTION_END",
"SEASON_TICKET_HOLDER_BEGIN",
"SEASON_TICKET_HOLDER_END"
],
"description": "Define the date meaning possibilites."
},
"@pendingConfirmation": {
"type": "boolean",
"description": "Says whether the date is finally commited or not."
},
"@timeZoneId": {
"type": "string",
"description": "Define the time zone worldwide from UTC."
},
"$": {
"type": "string",
"description": "XmlGregorianCalendar representation of the given date."
}
}
}
}
}
},
"venue": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Onebox internal venue unique identifier."
},
"@name": {
"type": "string",
"description": "Public venue name."
},
"@timeZone": {
"type": "string",
"description": "Define the time zone worldwide from UTC."
},
"communication-elements": {
"type": "object",
"properties": {
"@language": {
"type": "string",
"description": "Indicates the language of the communitacion event details."
},
"images": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`Image categorization, ie: LOGO_WEB, IMG_BANNER_WEB, IMG_BODY_WEB.`"
},
"@order": {
"type": "number",
"description": "Indicates just the order/priority in case of same type. This number is unique."
},
"$": {
"type": "string",
"description": "Absolute path to the image file."
}
},
"required": [
"@type",
"@order",
"$"
]
},
"description": "List of related images as banners, logo's, backgrounds..."
},
"videos": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`Video categorization.`"
},
"$": {
"type": "string",
"description": "Absolute path to the video file."
}
},
"required": [
"@type",
"$"
]
},
"description": "List of related images as banners, logo's, backgrounds..."
},
"files": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`File categorization.`"
},
"$": {
"type": "string",
"description": "Absolute path to the file."
}
},
"required": [
"@type",
"$"
]
},
"description": "List of related images as banners, logo's, backgrounds..."
},
"banners": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`Banner categorization, ie: CHANNEL_PURCHASE_HEADER_BANNER, CHANNEL_PURCHASE_BANNER, PROMOTER_PURCHASE_BANNER`"
},
"imageUrl": {
"type": "string",
"description": "Absolute path to the banner image file."
},
"linkUrl": {
"type": "string",
"description": "Direct link to the promotional site just in case."
}
},
"required": [
"@type",
"imageUrl"
]
},
"description": "List of related banners to put into a website, pdf, ticket..."
}
},
"required": [
"@language"
]
},
"location": {
"type": "object",
"properties": {
"address": {
"type": "string",
"description": "Venue address where the event will be performed."
},
"city": {
"type": "string",
"description": "City where the event will be performed."
},
"postalCode": {
"type": "string",
"description": "Postal code or zip code where the event will be performed."
},
"countrySubdivision": {
"type": "object",
"properties": {
"@code": {
"type": "string",
"description": "Item unique identifier."
},
"$": {
"type": "string",
"description": "Item value string."
}
},
"required": [
"@code",
"$"
],
"description": "`Country subdivision, this shall be the province, state or county. Ie: ES-T - Tarragona.`"
},
"country": {
"type": "object",
"properties": {
"@code": {
"type": "string",
"description": "Item unique identifier."
},
"$": {
"type": "string",
"description": "Item value string."
}
},
"required": [
"@code",
"$"
],
"description": "`Ie: ES - Spain.`"
},
"coordinates": {
"type": "string"
}
},
"required": [
"address",
"city",
"postalCode",
"countrySubdivision",
"country"
]
}
},
"required": [
"@id",
"@name"
]
},
"space": {
"type": "object",
"properties": {
"id": {
"type": "number",
"description": "Unique space identifier."
},
"name": {
"type": "string",
"description": "Space name."
}
}
},
"event-basic-info": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique identifier for each event/activity product."
},
"internalName": {
"type": "string",
"description": "Product internal description name."
},
"externalReferenceCode": {
"type": "string",
"description": "In case of product from 3rd party suppliers, those came with its own reference."
},
"title": {
"type": "string",
"description": "Event main title"
},
"subtitle": {
"type": "string",
"description": "Event secondary title"
},
"shortDescription": {
"type": "string",
"description": "Event short description"
},
"longDescription": {
"type": "string",
"description": "Event detailed description"
},
"additionalEventData": {
"type": "string"
},
"duration": {
"type": "string"
},
"communication-elements": {
"type": "object",
"properties": {
"@language": {
"type": "string",
"description": "Indicates the language of the communitacion event details."
},
"images": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`Image categorization, ie: LOGO_WEB, IMG_BANNER_WEB, IMG_BODY_WEB.`"
},
"@order": {
"type": "number",
"description": "Indicates just the order/priority in case of same type. This number is unique."
},
"$": {
"type": "string",
"description": "Absolute path to the image file."
}
},
"required": [
"@type",
"@order",
"$"
]
},
"description": "List of related images as banners, logo's, backgrounds..."
},
"videos": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`Video categorization.`"
},
"$": {
"type": "string",
"description": "Absolute path to the video file."
}
},
"required": [
"@type",
"$"
]
},
"description": "List of related images as banners, logo's, backgrounds..."
},
"files": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`File categorization.`"
},
"$": {
"type": "string",
"description": "Absolute path to the file."
}
},
"required": [
"@type",
"$"
]
},
"description": "List of related images as banners, logo's, backgrounds..."
},
"banners": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`Banner categorization, ie: CHANNEL_PURCHASE_HEADER_BANNER, CHANNEL_PURCHASE_BANNER, PROMOTER_PURCHASE_BANNER`"
},
"imageUrl": {
"type": "string",
"description": "Absolute path to the banner image file."
},
"linkUrl": {
"type": "string",
"description": "Direct link to the promotional site just in case."
}
},
"required": [
"@type",
"imageUrl"
]
},
"description": "List of related banners to put into a website, pdf, ticket..."
}
},
"required": [
"@language"
]
},
"taxonomy": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique identifier of this product segmentation."
},
"code": {
"type": "string",
"description": "Unique identifier fo this product segmentation to be used in th API."
},
"description": {
"type": "string",
"description": "Short description to better understand the taxonomy segmentation."
},
"superior-taxonomy": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique identifier of this product segmentation."
},
"code": {
"type": "string",
"description": "Unique identifier fo this product segmentation to be used in th API."
},
"description": {
"type": "string",
"description": "Short description to better understand the taxonomy segmentation."
}
},
"required": [
"@id",
"code"
]
}
},
"required": [
"@id",
"code"
]
},
"custom-taxonomy": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique identifier of this product segmentation."
},
"code": {
"type": "string",
"description": "Unique identifier fo this product segmentation to be used in th API."
},
"description": {
"type": "string",
"description": "Short description to better understand the taxonomy segmentation."
}
},
"required": [
"@id",
"code"
]
},
"promoter-custom-taxonomy": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique identifier of this product segmentation."
},
"code": {
"type": "string",
"description": "Unique identifier fo this product segmentation to be used in th API."
},
"description": {
"type": "string",
"description": "Short description to better understand the taxonomy segmentation."
}
},
"required": [
"@id",
"code"
]
},
"languages": {
"type": "object",
"properties": {
"language": {
"type": "array",
"items": [
{},
{
"type": "string",
"enum": [
"ca_ES",
"es_ES",
"en_US",
"fr_FR",
"it_IT",
"de_DE"
]
}
],
"description": "`List of the available languages for the event descriptions.`"
}
}
},
"dates": {
"type": "object",
"properties": {
"datetime": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"enum": [
"EVENT_BEGIN",
"EVENT_END",
"SESSION_BEGIN",
"SESSION_END",
"SESSION_SALES_BEGIN",
"SESSION_SALES_END",
"PRODUCT_SALES",
"PRODUCT_SALES_END",
"SESSION_PUBLISHED",
"PROMOTION_BEGIN",
"PROMOTION_END",
"SEASON_TICKET_HOLDER_BEGIN",
"SEASON_TICKET_HOLDER_END"
],
"description": "Define the date meaning possibilites."
},
"@pendingConfirmation": {
"type": "boolean",
"description": "Says whether the date is finally commited or not."
},
"@timeZoneId": {
"type": "string",
"description": "Define the time zone worldwide from UTC."
},
"$": {
"type": "string",
"description": "XmlGregorianCalendar representation of the given date."
}
}
}
}
}
},
"entidad": {
"type": "object",
"properties": {
"@id": {
"type": "number"
},
"name": {
"type": "string",
"description": "Promotor/Organizer company name."
},
"nif": {
"type": "string",
"description": "Tax/Vat unique identifier number."
},
"email": {
"type": "string"
},
"phoneNumber": {
"type": "string"
},
"timeZone": {
"type": "string"
},
"location": {
"type": "object",
"properties": {
"address": {
"type": "string",
"description": "Venue address where the event will be performed."
},
"city": {
"type": "string",
"description": "City where the event will be performed."
},
"postalCode": {
"type": "string",
"description": "Postal code or zip code where the event will be performed."
},
"countrySubdivision": {
"type": "object",
"properties": {
"@code": {
"type": "string",
"description": "Item unique identifier."
},
"$": {
"type": "string",
"description": "Item value string."
}
},
"required": [
"@code",
"$"
],
"description": "`Country subdivision, this shall be the province, state or county. Ie: ES-T - Tarragona.`"
},
"country": {
"type": "object",
"properties": {
"@code": {
"type": "string",
"description": "Item unique identifier."
},
"$": {
"type": "string",
"description": "Item value string."
}
},
"required": [
"@code",
"$"
],
"description": "`Ie: ES - Spain.`"
},
"coordinates": {
"type": "string"
}
},
"required": [
"address",
"city",
"postalCode",
"countrySubdivision",
"country"
]
}
},
"required": [
"@id",
"name",
"nif",
"email",
"phoneNumber",
"timeZone"
]
},
"promotor": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Onebox internal unique identifier."
},
"corporateName": {
"type": "string"
},
"fiscalCode": {
"type": "string",
"description": "Tax/Vat unique identifier number."
},
"email": {
"type": "string"
},
"phoneNumber": {
"type": "string"
},
"location": {
"type": "object",
"properties": {
"address": {
"type": "string",
"description": "Venue address where the event will be performed."
},
"city": {
"type": "string",
"description": "City where the event will be performed."
},
"postalCode": {
"type": "string",
"description": "Postal code or zip code where the event will be performed."
},
"countrySubdivision": {
"type": "object",
"properties": {
"@code": {
"type": "string",
"description": "Item unique identifier."
},
"$": {
"type": "string",
"description": "Item value string."
}
},
"required": [
"@code",
"$"
],
"description": "`Country subdivision, this shall be the province, state or county. Ie: ES-T - Tarragona.`"
},
"country": {
"type": "object",
"properties": {
"@code": {
"type": "string",
"description": "Item unique identifier."
},
"$": {
"type": "string",
"description": "Item value string."
}
},
"required": [
"@code",
"$"
],
"description": "`Ie: ES - Spain.`"
},
"coordinates": {
"type": "string"
}
},
"required": [
"address",
"city",
"postalCode",
"countrySubdivision",
"country"
]
}
},
"required": [
"@id",
"corporateName",
"fiscalCode",
"email",
"phoneNumber"
]
},
"tour": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Onebox internal unique identifier."
},
"name": {
"type": "string",
"description": "Tour name."
},
"promotorReference": {
"type": "string",
"description": "Promotor reference."
}
},
"required": [
"@id",
"name",
"promotorReference"
]
},
"severalVenues": {
"type": "boolean",
"description": "Is the event performed in different venues?"
},
"severalLocations": {
"type": "boolean",
"description": "Is the event perfomed in different locations?"
},
"supraEvent": {
"type": "boolean",
"description": "Is the event a sibling from another parent event?"
},
"giftTicket": {
"type": "boolean",
"description": "Has this event free entrance tickets allowed?"
},
"nominal": {
"type": "boolean",
"description": "Has the ticket to indicate the owner name / surname / id details?"
},
"eventType": {
"type": "string",
"enum": [
"EVENT",
"ACTIVITY"
]
},
"attribute-values": {
"type": "array",
"items": {
"type": "object",
"properties": {
"attribute-info": {
"type": "object",
"properties": {
"id": {
"type": "number",
"description": "Unique identifier."
},
"name": {
"type": "string"
},
"selection": {
"type": "string",
"enum": [
"SINGLE",
"MULTIPLE"
]
},
"domain-value-info": {
"type": "array",
"items": {
"type": "object",
"properties": {
"idValue": {
"type": "number",
"description": "Unique identifier."
},
"value": {
"type": "string"
},
"referenceCode": {
"type": "string"
}
},
"required": [
"idValue",
"value",
"referenceCode"
]
}
},
"domain": {
"type": "string",
"enum": [
"EVENT",
"SESSION",
"GROUP",
"PROFILE"
]
},
"valueType": {
"type": "string",
"enum": [
"USER_INPUT_INTEGER",
"USER_INPUT_STRING",
"DOMAIN_VALUE"
]
},
"referenceCode": {
"type": "string"
}
},
"required": [
"id",
"name",
"selection",
"domain-value-info",
"domain",
"valueType",
"referenceCode"
]
},
"attribute-value": {
"type": "array",
"items": {
"type": "object",
"properties": {
"user-input-value": {
"type": "object",
"properties": {},
"description": "Unique identifier."
},
"domain-value": {
"type": "object",
"properties": {
"value": {
"type": "string"
},
"idValue": {
"type": "number"
}
},
"required": [
"value"
],
"description": "Unique identifier."
}
}
}
},
"idAttribute": {
"type": "number"
},
"description": {
"type": "string"
}
},
"required": [
"attribute-info",
"attribute-value"
]
}
},
"passbookPreferences": {
"type": [
"object",
"null"
],
"properties": {
"communication-elements": {
"type": "object",
"properties": {
"@language": {
"type": "string",
"description": "Indicates the language of the communitacion event details."
},
"images": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`Image categorization, ie: LOGO_WEB, IMG_BANNER_WEB, IMG_BODY_WEB.`"
},
"@order": {
"type": "number",
"description": "Indicates just the order/priority in case of same type. This number is unique."
},
"$": {
"type": "string",
"description": "Absolute path to the image file."
}
},
"required": [
"@type",
"@order",
"$"
]
},
"description": "List of related images as banners, logo's, backgrounds..."
},
"videos": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`Video categorization.`"
},
"$": {
"type": "string",
"description": "Absolute path to the video file."
}
},
"required": [
"@type",
"$"
]
},
"description": "List of related images as banners, logo's, backgrounds..."
},
"files": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`File categorization.`"
},
"$": {
"type": "string",
"description": "Absolute path to the file."
}
},
"required": [
"@type",
"$"
]
},
"description": "List of related images as banners, logo's, backgrounds..."
},
"banners": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`Banner categorization, ie: CHANNEL_PURCHASE_HEADER_BANNER, CHANNEL_PURCHASE_BANNER, PROMOTER_PURCHASE_BANNER`"
},
"imageUrl": {
"type": "string",
"description": "Absolute path to the banner image file."
},
"linkUrl": {
"type": "string",
"description": "Direct link to the promotional site just in case."
}
},
"required": [
"@type",
"imageUrl"
]
},
"description": "List of related banners to put into a website, pdf, ticket..."
}
},
"required": [
"@language"
]
},
"textColor": {
"type": "string"
},
"labelColor": {
"type": "string"
},
"backgroundColor": {
"type": "string"
}
}
},
"clientEventDiscount": {
"type": "object",
"properties": {
"discountType": {
"type": "string",
"enum": [
"AMOUNT",
"PERCENT"
]
},
"discount": {
"type": "number"
}
},
"required": [
"discountType"
]
}
},
"required": [
"@id",
"internalName",
"externalReferenceCode",
"title",
"subtitle",
"shortDescription",
"longDescription",
"additionalEventData",
"duration",
"severalVenues",
"severalLocations",
"supraEvent",
"giftTicket",
"nominal",
"eventType",
"passbookPreferences"
]
},
"forSale": {
"type": "boolean",
"description": "Indicates the event is whether on sale or not."
},
"blockingReasons": {
"type": "string"
},
"hasProducts": {
"type": "boolean",
"description": "For Onebox box office purposes only."
},
"admission": {
"type": "string",
"enum": [
"ALL_AGES_ADMITTED",
"NOT_ADMITTED_UNDER_4",
"NOT_ADMITTED_UNDER_7",
"NOT_ADMITTED_UNDER_8",
"NOT_ADMITTED_UNDER_12",
"NOT_ADMITTED_UNDER_13",
"NOT_ADMITTED_UNDER_14",
"NOT_ADMITTED_UNDER_16",
"NOT_ADMITTED_UNDER_18",
"NOT_ADMITTED_UNDER_21"
],
"description": "Filter the age range to be admitted as an attendant."
},
"supportedEventType": {
"type": "string",
"enum": [
"EVENT",
"ACTIVITY"
]
},
"supportedVisitorType": {
"type": "string",
"enum": [
"INDIVIDUAL",
"GROUP",
"MIXED"
]
},
"attribute-values": {
"type": "array",
"items": {
"type": "object",
"properties": {
"attribute-info": {
"type": "object",
"properties": {
"id": {
"type": "number",
"description": "Unique identifier."
},
"name": {
"type": "string"
},
"selection": {
"type": "string",
"enum": [
"SINGLE",
"MULTIPLE"
]
},
"domain-value-info": {
"type": "array",
"items": {
"type": "object",
"properties": {
"idValue": {
"type": "number",
"description": "Unique identifier."
},
"value": {
"type": "string"
},
"referenceCode": {
"type": "string"
}
},
"required": [
"idValue",
"value",
"referenceCode"
]
}
},
"domain": {
"type": "string",
"enum": [
"EVENT",
"SESSION",
"GROUP",
"PROFILE"
]
},
"valueType": {
"type": "string",
"enum": [
"USER_INPUT_INTEGER",
"USER_INPUT_STRING",
"DOMAIN_VALUE"
]
},
"referenceCode": {
"type": "string"
}
},
"required": [
"id",
"name",
"selection",
"domain-value-info",
"domain",
"valueType",
"referenceCode"
]
},
"attribute-value": {
"type": "array",
"items": {
"type": "object",
"properties": {
"user-input-value": {
"type": "object",
"properties": {},
"description": "Unique identifier."
},
"domain-value": {
"type": "object",
"properties": {
"value": {
"type": "string"
},
"idValue": {
"type": "number"
}
},
"required": [
"value"
],
"description": "Unique identifier."
}
}
}
},
"idAttribute": {
"type": "number"
},
"description": {
"type": "string"
}
},
"required": [
"attribute-info",
"attribute-value"
]
}
},
"visitorGroupConfig": {
"type": "string"
},
"hideSessionDates": {
"type": "boolean",
"description": "For Onebox box office purposes only."
},
"showDate": {
"type": "boolean",
"description": "For Onebox box office purposes only."
},
"showDatetime": {
"type": "boolean",
"description": "For Onebox box office purposes only."
},
"@rates": {
"type": "string",
"description": "Rate description identifier."
},
"season-session-info": {
"type": "object",
"properties": {},
"description": "Avoided loop. Object just like your ancestor 'season-session-info'"
}
},
"required": [
"@id",
"internalName",
"name",
"description",
"venue",
"space",
"event-basic-info",
"blockingReasons",
"admission",
"supportedEventType",
"supportedVisitorType",
"hideSessionDates",
"showDate",
"showDatetime",
"@rates",
"season-session-info"
]
},
"@isSeasonSession": {
"type": "number",
"description": "Unique season session identifier."
}
},
"required": [
"seasonSessions",
"@isSeasonSession"
]
},
"isGraphicVenue": {
"type": "boolean",
"description": "Is the session a graphic venue?"
},
"nonGraphicImage": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`Image categorization, ie: LOGO_WEB, IMG_BANNER_WEB, IMG_BODY_WEB.`"
},
"@order": {
"type": "number",
"description": "Indicates just the order/priority in case of same type. This number is unique."
},
"$": {
"type": "string",
"description": "Absolute path to the image file."
}
},
"required": [
"@type",
"@order",
"$"
]
},
"sessionMinPrice": {
"type": "object",
"properties": {
"price": {
"type": "number"
},
"charges": {
"type": "object",
"properties": {
"charge": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"enum": [
"CHANNEL_CHARGE",
"PROMOTER_CHARGE",
"PROMOTER_CHANNEL_CHARGE"
]
},
"value 1.5": {
"type": "number",
"description": "Value of the charge."
}
},
"required": [
"value 1.5"
]
}
}
},
"required": [
"charge"
]
}
},
"required": [
"price"
]
},
"sessionMaxPrice": {
"type": "object",
"properties": {
"price": {
"type": "number"
},
"charges": {
"type": "object",
"properties": {
"charge": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"enum": [
"CHANNEL_CHARGE",
"PROMOTER_CHARGE",
"PROMOTER_CHANNEL_CHARGE"
]
},
"value 1.5": {
"type": "number",
"description": "Value of the charge."
}
},
"required": [
"value 1.5"
]
}
}
},
"required": [
"charge"
]
}
},
"required": [
"price"
]
},
"price-zones-availability": {
"type": "object",
"properties": {
"priceZoneAvailability": {
"type": "array",
"items": {
"type": "object",
"properties": {
"originalBasePrice": {
"type": "number",
"description": "PVP public price."
},
"originalBasePriceCharges": {
"type": "object",
"properties": {
"charge": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"enum": [
"CHANNEL_CHARGE",
"PROMOTER_CHARGE",
"PROMOTER_CHANNEL_CHARGE"
]
},
"value 1.5": {
"type": "number",
"description": "Value of the charge."
}
},
"required": [
"value 1.5"
]
}
}
},
"required": [
"charge"
]
},
"automatic-promotion": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique identifier."
},
"promotionComElements": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"description": {
"type": "string"
}
}
},
"type": {
"type": "string",
"enum": [
"PERCENTAGE",
"FIXED",
"UNDEFINED"
]
},
"value": {
"type": "number"
},
"priceZonesIds": {
"type": "object",
"properties": {
"priceZonesId": {
"type": "array"
}
}
},
"group": {
"type": "object",
"properties": {
"i@d": {
"type": "number",
"description": "Unique identifier."
},
"name": {
"type": "string"
},
"validationType": {
"type": "string",
"enum": [
"NONE",
"VENUE",
"INTERNAL",
"CHANNEL"
]
},
"validationMethod": {
"type": "string",
"enum": [
"PROMOTIONAL_CODE",
"USER",
"USER_PASSWORD",
"CREDIT_CARD",
"GIFT_TICKET"
]
}
},
"required": [
"i@d",
"validationType",
"validationMethod"
]
},
"limitedUses": {
"type": "boolean",
"description": "Default false"
}
},
"required": [
"@id",
"type",
"value"
]
},
"promotedPrice": {
"type": "number",
"description": "PVP promoted price just in case there is any promotion applied, otherwise this price will be always the same as originalBasePrice."
},
"promotedPriceCharges": {
"type": "object",
"properties": {
"charge": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"enum": [
"CHANNEL_CHARGE",
"PROMOTER_CHARGE",
"PROMOTER_CHANNEL_CHARGE"
]
},
"value 1.5": {
"type": "number",
"description": "Value of the charge."
}
},
"required": [
"value 1.5"
]
}
}
},
"required": [
"charge"
],
"description": "º"
},
"@id": {
"type": "number",
"description": "Unique identifier."
},
"name": {
"type": "string",
"description": "Description name."
},
"code": {
"type": "string",
"description": "Price zone availability code."
},
"color": {
"type": "string",
"description": "For Onebox internal use only."
},
"availability-info": {
"type": "object",
"properties": {
"total": {
"type": "number",
"description": "Total venue capacity."
},
"available": {
"type": "number",
"description": "Available seats to be reserved."
},
"blockedAvailability": {
"type": "object",
"properties": {
"blockingReasonsAvailability": {
"type": "object",
"properties": {
"blockingReasonAvailability": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique blocking reason availability identifier."
},
"value": {
"type": "number"
}
},
"required": [
"@id"
]
}
}
},
"required": [
"blockingReasonAvailability"
]
}
},
"required": [
"blockingReasonsAvailability"
]
}
},
"required": [
"blockedAvailability"
]
},
"sector-availability": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique identifier."
},
"availability-info": {
"type": "object",
"properties": {
"total": {
"type": "number",
"description": "Total venue capacity."
},
"available": {
"type": "number",
"description": "Available seats to be reserved."
},
"blockedAvailability": {
"type": "object",
"properties": {
"blockingReasonsAvailability": {
"type": "object",
"properties": {
"blockingReasonAvailability": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique blocking reason availability identifier."
},
"value": {
"type": "number"
}
},
"required": [
"@id"
]
}
}
},
"required": [
"blockingReasonAvailability"
]
}
},
"required": [
"blockingReasonsAvailability"
]
}
},
"required": [
"blockedAvailability"
]
}
},
"required": [
"@id",
"availability-info"
]
}
}
},
"required": [
"originalBasePrice",
"originalBasePriceCharges",
"@id",
"name",
"sector-availability"
]
}
}
},
"required": [
"priceZoneAvailability"
]
},
"activity-ticket-types-availability": {
"type": "object",
"properties": {
"activity-ticket-type-availability": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique identifier."
},
"name": {
"type": "string",
"description": "Description name."
},
"code": {
"type": "string",
"description": "Product availability code."
},
"individualPrice": {
"type": "object",
"properties": {
"originalBasePrice": {
"type": "number",
"description": "PVP public price."
},
"originalBasePriceCharges": {
"type": "object",
"properties": {
"charge": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"enum": [
"CHANNEL_CHARGE",
"PROMOTER_CHARGE",
"PROMOTER_CHANNEL_CHARGE"
]
},
"value 1.5": {
"type": "number",
"description": "Value of the charge."
}
},
"required": [
"value 1.5"
]
}
}
},
"required": [
"charge"
]
},
"automatic-promotion": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique identifier."
},
"promotionComElements": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"description": {
"type": "string"
}
}
},
"type": {
"type": "string",
"enum": [
"PERCENTAGE",
"FIXED",
"UNDEFINED"
]
},
"value": {
"type": "number"
},
"priceZonesIds": {
"type": "object",
"properties": {
"priceZonesId": {
"type": "array"
}
}
},
"group": {
"type": "object",
"properties": {
"i@d": {
"type": "number",
"description": "Unique identifier."
},
"name": {
"type": "string"
},
"validationType": {
"type": "string",
"enum": [
"NONE",
"VENUE",
"INTERNAL",
"CHANNEL"
]
},
"validationMethod": {
"type": "string",
"enum": [
"PROMOTIONAL_CODE",
"USER",
"USER_PASSWORD",
"CREDIT_CARD",
"GIFT_TICKET"
]
}
},
"required": [
"i@d",
"validationType",
"validationMethod"
]
},
"limitedUses": {
"type": "boolean",
"description": "Default false"
}
},
"required": [
"@id",
"type",
"value"
]
},
"promotedPrice": {
"type": "number",
"description": "PVP promoted price just in case there is any promotion applied, otherwise this price will be always the same as originalBasePrice."
},
"promotedPriceCharges": {
"type": "object",
"properties": {
"charge": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"enum": [
"CHANNEL_CHARGE",
"PROMOTER_CHARGE",
"PROMOTER_CHANNEL_CHARGE"
]
},
"value 1.5": {
"type": "number",
"description": "Value of the charge."
}
},
"required": [
"value 1.5"
]
}
}
},
"required": [
"charge"
],
"description": "º"
}
},
"required": [
"originalBasePrice",
"originalBasePriceCharges"
]
},
"visitorGroupPrice": {
"type": "object",
"properties": {
"originalBasePrice": {
"type": "number",
"description": "PVP public price."
},
"originalBasePriceCharges": {
"type": "object",
"properties": {
"charge": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"enum": [
"CHANNEL_CHARGE",
"PROMOTER_CHARGE",
"PROMOTER_CHANNEL_CHARGE"
]
},
"value 1.5": {
"type": "number",
"description": "Value of the charge."
}
},
"required": [
"value 1.5"
]
}
}
},
"required": [
"charge"
]
},
"automatic-promotion": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique identifier."
},
"promotionComElements": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"description": {
"type": "string"
}
}
},
"type": {
"type": "string",
"enum": [
"PERCENTAGE",
"FIXED",
"UNDEFINED"
]
},
"value": {
"type": "number"
},
"priceZonesIds": {
"type": "object",
"properties": {
"priceZonesId": {
"type": "array"
}
}
},
"group": {
"type": "object",
"properties": {
"i@d": {
"type": "number",
"description": "Unique identifier."
},
"name": {
"type": "string"
},
"validationType": {
"type": "string",
"enum": [
"NONE",
"VENUE",
"INTERNAL",
"CHANNEL"
]
},
"validationMethod": {
"type": "string",
"enum": [
"PROMOTIONAL_CODE",
"USER",
"USER_PASSWORD",
"CREDIT_CARD",
"GIFT_TICKET"
]
}
},
"required": [
"i@d",
"validationType",
"validationMethod"
]
},
"limitedUses": {
"type": "boolean",
"description": "Default false"
}
},
"required": [
"@id",
"type",
"value"
]
},
"promotedPrice": {
"type": "number",
"description": "PVP promoted price just in case there is any promotion applied, otherwise this price will be always the same as originalBasePrice."
},
"promotedPriceCharges": {
"type": "object",
"properties": {
"charge": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"enum": [
"CHANNEL_CHARGE",
"PROMOTER_CHARGE",
"PROMOTER_CHANNEL_CHARGE"
]
},
"value 1.5": {
"type": "number",
"description": "Value of the charge."
}
},
"required": [
"value 1.5"
]
}
}
},
"required": [
"charge"
],
"description": "º"
}
},
"required": [
"originalBasePrice",
"originalBasePriceCharges"
]
},
"visitorGroupPricingType": {
"type": "string",
"enum": [
"PER_GROUP",
"PER_ASSISTANT"
]
},
"color": {
"type": "string",
"description": "For Onebox internal use only."
},
"availability-info": {
"type": [
"object",
"null"
],
"properties": {
"total": {
"type": "number",
"description": "Total venue capacity."
},
"available": {
"type": "number",
"description": "Available seats to be reserved."
},
"blockedAvailability": {
"type": "object",
"properties": {
"blockingReasonsAvailability": {
"type": "object",
"properties": {
"blockingReasonAvailability": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique blocking reason availability identifier."
},
"value": {
"type": "number"
}
},
"required": [
"@id"
]
}
}
},
"required": [
"blockingReasonAvailability"
]
}
},
"required": [
"blockingReasonsAvailability"
]
}
},
"required": [
"blockedAvailability"
]
},
"sector-availability": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique identifier."
},
"availability-info": {
"type": "object",
"properties": {
"total": {
"type": "number",
"description": "Total venue capacity."
},
"available": {
"type": "number",
"description": "Available seats to be reserved."
},
"blockedAvailability": {
"type": "object",
"properties": {
"blockingReasonsAvailability": {
"type": "object",
"properties": {
"blockingReasonAvailability": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique blocking reason availability identifier."
},
"value": {
"type": "number"
}
},
"required": [
"@id"
]
}
}
},
"required": [
"blockingReasonAvailability"
]
}
},
"required": [
"blockingReasonsAvailability"
]
}
},
"required": [
"blockedAvailability"
]
}
},
"required": [
"@id",
"availability-info"
]
}
}
},
"required": [
"@id",
"name",
"individualPrice",
"visitorGroupPrice",
"visitorGroupPricingType",
"sector-availability"
]
}
}
},
"required": [
"activity-ticket-type-availability"
]
},
"availability-info": {
"type": [
"object",
"null"
],
"properties": {
"total": {
"type": "number",
"description": "Total venue capacity."
},
"available": {
"type": "number",
"description": "Available seats to be reserved."
},
"blockedAvailability": {
"type": "object",
"properties": {
"blockingReasonsAvailability": {
"type": "object",
"properties": {
"blockingReasonAvailability": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique blocking reason availability identifier."
},
"value": {
"type": "number"
}
},
"required": [
"@id"
]
}
}
},
"required": [
"blockingReasonAvailability"
]
}
},
"required": [
"blockingReasonsAvailability"
]
}
},
"required": [
"blockedAvailability"
]
},
"communication-elements": {
"type": [
"object",
"null"
],
"properties": {
"@language": {
"type": "string",
"description": "Indicates the language of the communitacion event details."
},
"images": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`Image categorization, ie: LOGO_WEB, IMG_BANNER_WEB, IMG_BODY_WEB.`"
},
"@order": {
"type": "number",
"description": "Indicates just the order/priority in case of same type. This number is unique."
},
"$": {
"type": "string",
"description": "Absolute path to the image file."
}
},
"required": [
"@type",
"@order",
"$"
]
},
"description": "List of related images as banners, logo's, backgrounds..."
},
"videos": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`Video categorization.`"
},
"$": {
"type": "string",
"description": "Absolute path to the video file."
}
},
"required": [
"@type",
"$"
]
},
"description": "List of related images as banners, logo's, backgrounds..."
},
"files": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`File categorization.`"
},
"$": {
"type": "string",
"description": "Absolute path to the file."
}
},
"required": [
"@type",
"$"
]
},
"description": "List of related images as banners, logo's, backgrounds..."
},
"banners": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`Banner categorization, ie: CHANNEL_PURCHASE_HEADER_BANNER, CHANNEL_PURCHASE_BANNER, PROMOTER_PURCHASE_BANNER`"
},
"imageUrl": {
"type": "string",
"description": "Absolute path to the banner image file."
},
"linkUrl": {
"type": "string",
"description": "Direct link to the promotional site just in case."
}
},
"required": [
"@type",
"imageUrl"
]
},
"description": "List of related banners to put into a website, pdf, ticket..."
}
},
"required": [
"@language"
]
},
"promotions-discounts": {
"type": "object",
"properties": {
"promotions": {
"type": "object",
"properties": {
"promotion": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique promotion identifier."
},
"promotionComElements": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"description": {
"type": "string"
}
}
},
"type": {
"type": "string",
"enum": [
"PERCENTAGE",
"FIXED",
"UNDEFINED"
]
},
"value": {
"type": "number"
},
"priceZonesIds": {
"type": "object",
"properties": {
"priceZonesId": {
"type": "array"
}
}
},
"group": {
"type": "object",
"properties": {
"i@d": {
"type": "number",
"description": "Unique identifier."
},
"name": {
"type": "string"
},
"validationType": {
"type": "string",
"enum": [
"NONE",
"VENUE",
"INTERNAL",
"CHANNEL"
]
},
"validationMethod": {
"type": "string",
"enum": [
"PROMOTIONAL_CODE",
"USER",
"USER_PASSWORD",
"CREDIT_CARD",
"GIFT_TICKET"
]
}
},
"required": [
"i@d",
"validationType",
"validationMethod"
]
},
"restrictions": {
"type": "object",
"properties": {
"packItems": {
"type": "number"
},
"maxItems": {
"type": "number"
},
"minItems": {
"type": "number"
}
}
},
"mandatory": {
"type": "boolean",
"description": "Default false"
},
"self-managed": {
"type": "boolean",
"description": "Default false"
},
"limitedUses": {
"type": "boolean",
"description": "Default false"
},
"dates": {
"type": "object",
"properties": {
"datetime": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"enum": [
"EVENT_BEGIN",
"EVENT_END",
"SESSION_BEGIN",
"SESSION_END",
"SESSION_SALES_BEGIN",
"SESSION_SALES_END",
"PRODUCT_SALES",
"PRODUCT_SALES_END",
"SESSION_PUBLISHED",
"PROMOTION_BEGIN",
"PROMOTION_END",
"SEASON_TICKET_HOLDER_BEGIN",
"SEASON_TICKET_HOLDER_END"
],
"description": "Define the date meaning possibilites."
},
"@pendingConfirmation": {
"type": "boolean",
"description": "Says whether the date is finally commited or not."
},
"@timeZoneId": {
"type": "string",
"description": "Define the time zone worldwide from UTC."
},
"$": {
"type": "string",
"description": "XmlGregorianCalendar representation of the given date."
}
}
}
}
}
}
},
"required": [
"@id",
"type",
"value"
]
}
}
},
"required": [
"promotion"
]
},
"discounts": {
"type": "object",
"properties": {
"promotion": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique promotion identifier."
},
"promotionComElements": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"description": {
"type": "string"
}
}
},
"type": {
"type": "string",
"enum": [
"PERCENTAGE",
"FIXED",
"UNDEFINED"
]
},
"value": {
"type": "number"
},
"priceZonesIds": {
"type": "object",
"properties": {
"priceZonesId": {
"type": "array"
}
}
},
"group": {
"type": "object",
"properties": {
"i@d": {
"type": "number",
"description": "Unique identifier."
},
"name": {
"type": "string"
},
"validationType": {
"type": "string",
"enum": [
"NONE",
"VENUE",
"INTERNAL",
"CHANNEL"
]
},
"validationMethod": {
"type": "string",
"enum": [
"PROMOTIONAL_CODE",
"USER",
"USER_PASSWORD",
"CREDIT_CARD",
"GIFT_TICKET"
]
}
},
"required": [
"i@d",
"validationType",
"validationMethod"
]
},
"restrictions": {
"type": "object",
"properties": {
"packItems": {
"type": "number"
},
"maxItems": {
"type": "number"
},
"minItems": {
"type": "number"
}
}
},
"mandatory": {
"type": "boolean",
"description": "Default false"
},
"self-managed": {
"type": "boolean",
"description": "Default false"
},
"limitedUses": {
"type": "boolean",
"description": "Default false"
},
"dates": {
"type": "object",
"properties": {
"datetime": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"enum": [
"EVENT_BEGIN",
"EVENT_END",
"SESSION_BEGIN",
"SESSION_END",
"SESSION_SALES_BEGIN",
"SESSION_SALES_END",
"PRODUCT_SALES",
"PRODUCT_SALES_END",
"SESSION_PUBLISHED",
"PROMOTION_BEGIN",
"PROMOTION_END",
"SEASON_TICKET_HOLDER_BEGIN",
"SEASON_TICKET_HOLDER_END"
],
"description": "Define the date meaning possibilites."
},
"@pendingConfirmation": {
"type": "boolean",
"description": "Says whether the date is finally commited or not."
},
"@timeZoneId": {
"type": "string",
"description": "Define the time zone worldwide from UTC."
},
"$": {
"type": "string",
"description": "XmlGregorianCalendar representation of the given date."
}
}
}
}
}
}
},
"required": [
"@id",
"type",
"value"
]
}
}
},
"required": [
"promotion"
]
}
}
},
"sector": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique identifier."
},
"sectorName": {
"type": "string",
"description": "Sector name."
}
},
"required": [
"@id",
"sectorName"
]
}
},
"session-properties": {
"type": "object",
"properties": {
"bestSeatsOperationSupported": {
"type": "boolean",
"description": "Default true"
},
"purchaseTicketsLimit": {
"type": "number",
"description": "Ticket purchase limit."
},
"antibotDesired": {
"type": "boolean"
},
"showTime": {
"type": "boolean",
"description": "Default true"
},
"capacityIdAvet": {
"type": "string"
},
"sessionIdAvet": {
"type": "string"
}
}
},
"visitorGroupAvailability": {
"type": [
"object",
"null"
],
"properties": {
"totalVisitorGroups": {
"type": "number",
"description": "For Onebox internal use only."
},
"availableVisitorGroups": {
"type": "number",
"description": "For Onebox internal use only."
}
}
},
"ticketingPartit": {
"type": "string"
}
},
"required": [
"@id",
"internalName",
"name",
"description",
"venue",
"space",
"event-basic-info",
"blockingReasons",
"admission",
"supportedEventType",
"supportedVisitorType",
"hideSessionDates",
"showDate",
"showDatetime",
"@rates",
"season-session-info",
"nonGraphicImage",
"sector",
"session-properties",
"visitorGroupAvailability",
"ticketingPartit"
]
}Headers
Content-Type: application/json;charset=UTF-8Body
{
"error": "Bad request",
"error_description": "There was a syntax error, check your params request and try it again."
}Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"error": {
"type": "string",
"description": "Short http error code description"
},
"error_description": {
"type": "string",
"description": "Detailed description of the error returned."
}
},
"required": [
"error",
"error_description"
]
}Headers
Content-Type: application/json;charset=UTF-8Body
{
"error": "Unauthorized",
"error_description": "Full authentication is required to access this resource"
}Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"error": {
"type": "string",
"description": "Short http error code description."
},
"error_description": {
"type": "string",
"description": "Detailed description of the error returned."
}
},
"required": [
"error",
"error_description"
]
}Headers
Content-Type: application/json;charset=UTF-8Body
{
"statusCode": 1010,
"responseTime": "08-03-2017 13:46:03.657"
}Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"statusCode": {
"type": "number",
"description": "This is the Onebox error codes. Get the full list here: [go to Onebox error responses](http://developer.oneboxtickets.com/httpresponsecodes.html)"
},
"responseTime": {
"type": "string"
}
},
"required": [
"statusCode",
"responseTime"
]
}Get session infoGET/session/{idSession}/info{?showNotPublishedInfo}
Use this service to get session/performance availability and information details.
- idSession
number(required) Example: 12345- showNotPublishedInfo
boolean(optional)Filter by show or not published info. False by default if not specified.
2. Shopping Cart ¶
This group contains all the related services and resources to let you manage a shopping basket (add/release product items).
Shopping Cart ¶
Headers
Authorization: Bearer [ACCESS_TOKEN]
Content-Type: application/json
Accept: application/json- Headers
traceID:
String: Unique id to identify the transaction within the Onebox API audit systemOB_Error_Code:Number: This is the Onebox error codes. Get the full list here: [go to Onebox error responses](http://developer.oneboxtickets.com/httpresponsecodes.html)
Headers
Content-Type: application/json;charset=UTF-8Body
{
"client": {
"@id": 123,
"name": "First name",
"lastname": "Last name",
"$": "1970-01-01",
"email": "email@domain.com",
"receiptMail": "email@domain.com",
"ticketMail": "email@domain.com",
"phone": "0034 555 55 55",
"identification": {
"value": "",
"@type": ""
},
"gender": "NOT_DEFINED",
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
},
"profile-data": {
"@`profile-id`": 123,
"profile-field": [
{
"@`field-id`": 123,
"idValue": [],
"user-input-value": []
}
]
},
"language": {
"value": "",
"@code": ""
},
"groupValidation": [
{
"@idGroup": 123,
"user": "",
"promotionalCode": "",
"externalProperties": {}
}
]
},
"shoppingCartItem": [
{
"shopping-cart-item": {
"ticket-data": {},
"product-data": {
"venue": {
"@id": 432432,
"@name": "World Park",
"@timeZone": "Europe/Berlin",
"communication-elements": {
"@language": "en_US",
"images": [
{
"@type": "LOGO_WEB",
"@order": 1,
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"videos": [
{
"@type": "VIDEO",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"files": [
{
"@type": "FILE",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"banners": [
{
"@type": "CHANNEL_PURCHASE_HEADER_BANNER",
"imageUrl": "https://s3.amazonaws.com/onebox-repository/pro/1/1/itemIdioma/1741/1_image_1340695930723.jpg",
"linkUrl": "http://www.website.com/channel_id"
}
]
},
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
}
},
"product-info": {
"@id": 10,
"internalName": "",
"name": "",
"dates": {
"datetime": [
{
"@type": "EVENT_BEGIN",
"@pendingConfirmation": false,
"@timeZoneId": "Europe/Berlin",
"$": "2018-01-07T19:00:00.000+01:00"
}
]
},
"venue": {
"@id": 432432,
"@name": "World Park",
"@timeZone": "Europe/Berlin",
"communication-elements": {
"@language": "en_US",
"images": [
{
"@type": "LOGO_WEB",
"@order": 1,
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"videos": [
{
"@type": "VIDEO",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"files": [
{
"@type": "FILE",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"banners": [
{
"@type": "CHANNEL_PURCHASE_HEADER_BANNER",
"imageUrl": "https://s3.amazonaws.com/onebox-repository/pro/1/1/itemIdioma/1741/1_image_1340695930723.jpg",
"linkUrl": "http://www.website.com/channel_id"
}
]
},
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
}
},
"catalog-info": {
"entityId": 0,
"name": ""
},
"attributes": {
"attribute": [
{
"@id": 10,
"name": ""
}
]
},
"product-image": [],
"forSale": false,
"bookable": false,
"product-variant": [
{
"id": 10,
"sku": "",
"price-breakdown": {
"base-price": 10,
"automatic-promotion": 0,
"manual-promotion": 0,
"manual-discount": 0,
"client-discount": 0,
"client-comission": 0,
"charges": {
"charge": [
{
"@type": "CHANNEL_CHARGE",
"value 1.5": 0
}
]
},
"delivery-costs": 0,
"insurance": 0,
"taxes": {
"tax": [
{
"@id": 10,
"value": 0
}
]
},
"final-price": 20
},
"limited-stock": false,
"variant-availability": 0,
"variant-attributes": {
"variant-attribute": [
{
"attribute": {
"@id": 10,
"name": ""
},
"value": ""
}
]
},
"venue": {
"@id": 432432,
"@name": "World Park",
"@timeZone": "Europe/Berlin",
"communication-elements": {
"@language": "en_US",
"images": [
{
"@type": "LOGO_WEB",
"@order": 1,
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"videos": [
{
"@type": "VIDEO",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"files": [
{
"@type": "FILE",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"banners": [
{
"@type": "CHANNEL_PURCHASE_HEADER_BANNER",
"imageUrl": "https://s3.amazonaws.com/onebox-repository/pro/1/1/itemIdioma/1741/1_image_1340695930723.jpg",
"linkUrl": "http://www.website.com/channel_id"
}
]
},
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
}
},
"catalog-info": {
"entityId": 0,
"name": ""
},
"product-info": {
"@id": 10,
"internalName": "",
"name": "",
"dates": {
"datetime": [
{
"@type": "EVENT_BEGIN",
"@pendingConfirmation": false,
"@timeZoneId": "Europe/Berlin",
"$": "2018-01-07T19:00:00.000+01:00"
}
]
},
"venue": {
"@id": 432432,
"@name": "World Park",
"@timeZone": "Europe/Berlin",
"communication-elements": {
"@language": "en_US",
"images": [
{
"@type": "LOGO_WEB",
"@order": 1,
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"videos": [
{
"@type": "VIDEO",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"files": [
{
"@type": "FILE",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"banners": [
{
"@type": "CHANNEL_PURCHASE_HEADER_BANNER",
"imageUrl": "https://s3.amazonaws.com/onebox-repository/pro/1/1/itemIdioma/1741/1_image_1340695930723.jpg",
"linkUrl": "http://www.website.com/channel_id"
}
]
},
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
}
},
"catalog-info": {
"entityId": 0,
"name": ""
},
"attributes": {
"attribute": [
{
"@id": 10,
"name": ""
}
]
},
"product-image": [],
"forSale": false,
"bookable": false,
"product-variant": []
}
}
]
},
"variant-attributes": {
"variant-attribute": [
{
"attribute": {
"@id": 10,
"name": ""
},
"value": ""
}
]
},
"printouts": 0,
"cancellations": 0,
"status": "PURCHASED",
"sku": "",
"customer": {
"@id": 123,
"name": "First name",
"lastname": "Last name",
"$": "1970-01-01",
"email": "email@domain.com",
"receiptMail": "email@domain.com",
"ticketMail": "email@domain.com",
"phone": "0034 555 55 55",
"identification": {
"value": "",
"@type": ""
},
"gender": "NOT_DEFINED",
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
},
"profile-data": {
"@`profile-id`": 123,
"profile-field": [
{
"@`field-id`": 123,
"idValue": [],
"user-input-value": []
}
]
},
"language": {
"value": "",
"@code": ""
},
"groupValidation": [
{
"@idGroup": 123,
"user": "",
"promotionalCode": "",
"externalProperties": {}
}
]
},
"session-basic-info": {
"@id": 5553432,
"internalName": "7 days 1 park",
"name": "7 days 1 park",
"description": "<P ALIGN=\\\"LEFT\\\">Six amazing worlds in just one Park, perfect for having fun in family and frends as well.</P>",
"dates": {
"datetime": [
{
"@type": "EVENT_BEGIN",
"@pendingConfirmation": false,
"@timeZoneId": "Europe/Berlin",
"$": "2018-01-07T19:00:00.000+01:00"
}
]
},
"venue": {
"@id": 432432,
"@name": "World Park",
"@timeZone": "Europe/Berlin",
"communication-elements": {
"@language": "en_US",
"images": [
{
"@type": "LOGO_WEB",
"@order": 1,
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"videos": [
{
"@type": "VIDEO",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"files": [
{
"@type": "FILE",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"banners": [
{
"@type": "CHANNEL_PURCHASE_HEADER_BANNER",
"imageUrl": "https://s3.amazonaws.com/onebox-repository/pro/1/1/itemIdioma/1741/1_image_1340695930723.jpg",
"linkUrl": "http://www.website.com/channel_id"
}
]
},
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
}
},
"space": {
"id": 150,
"name": "SPACE"
},
"event-basic-info": {
"@id": 23454,
"internalName": "7 days 1 park",
"externalReferenceCode": "EXT-123",
"title": "Theme Park",
"subtitle": "¡Discover the 6 worlds adrenaline!",
"shortDescription": "<P ALIGN=\\\"LEFT\\\">Six amazing worlds in just one Park, perfect for having fun in family and frends as well.</P>",
"longDescription": "<P ALIGN=\\\"LEFT\\\">Explore a whole world of fun and know our amazing theme parks. An ideal destination for a family getaway, located in one of the best tourist areas of Spain and just an hour from Barcelona! </ P> <BR/> <P ALIGN = \\ \"LEFT \\\"> The best entertainment, relaxation, gastronomy and shopping you can imagine. > A DESTINY AND SIX WORLDS TO DISCOVER </ P> <P ALIGN = \\ \"LEFT \\\"> Here begins a journey that takes you much further than you can imagine. At the Park we look forward to six fascinating worlds completely different, with a careful decoration to the last detail, so that you enjoy to the maximum. Emotions for all tastes. Families, friends, big and small: in our theme park, all the fun.</P>",
"additionalEventData": "",
"duration": "",
"communication-elements": {
"@language": "en_US",
"images": [
{
"@type": "LOGO_WEB",
"@order": 1,
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"videos": [
{
"@type": "VIDEO",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"files": [
{
"@type": "FILE",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"banners": [
{
"@type": "CHANNEL_PURCHASE_HEADER_BANNER",
"imageUrl": "https://s3.amazonaws.com/onebox-repository/pro/1/1/itemIdioma/1741/1_image_1340695930723.jpg",
"linkUrl": "http://www.website.com/channel_id"
}
]
},
"taxonomy": {
"@id": 68,
"code": "APRTEM",
"description": "Theme Parks",
"superior-taxonomy": {
"@id": 68,
"code": "APRTEM",
"description": "Theme Parks"
}
},
"custom-taxonomy": {
"@id": 68,
"code": "APRTEM",
"description": "Theme Parks"
},
"promoter-custom-taxonomy": {
"@id": 68,
"code": "APRTEM",
"description": "Theme Parks"
},
"languages": {
"language": [
"",
"ca_ES"
]
},
"dates": {
"datetime": [
{
"@type": "EVENT_BEGIN",
"@pendingConfirmation": false,
"@timeZoneId": "Europe/Berlin",
"$": "2018-01-07T19:00:00.000+01:00"
}
]
},
"entidad": {
"@id": 123,
"name": "Theme Park",
"nif": "A54343234",
"email": "info@theme.park",
"phoneNumber": "0034 555 55 55",
"timeZone": "Europe/Madrid",
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
}
},
"promotor": {
"@id": 475,
"corporateName": "Theme Park Entertainment SA.",
"fiscalCode": "A53776307",
"email": "info@theme.park",
"phoneNumber": "0034 555 55 55",
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
}
},
"tour": {
"@id": 475,
"name": "Theme Park",
"promotorReference": "Theme Park Entertainment SA."
},
"severalVenues": false,
"severalLocations": false,
"supraEvent": false,
"giftTicket": false,
"nominal": false,
"eventType": "EVENT",
"attribute-values": [
{
"attribute-info": {
"id": 0,
"name": "",
"selection": "SINGLE",
"domain-value-info": [
{
"idValue": 10,
"value": "oneboxtm",
"referenceCode": "OB"
}
],
"domain": "EVENT",
"valueType": "DOMAIN_VALUE",
"referenceCode": "Attr"
},
"attribute-value": [
{
"user-input-value": {},
"domain-value": {
"value": "``",
"idValue": 30
}
}
],
"idAttribute": 50,
"description": "DESCRIPTION"
}
],
"passbookPreferences": {
"communication-elements": {
"@language": "en_US",
"images": [
{
"@type": "LOGO_WEB",
"@order": 1,
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"videos": [
{
"@type": "VIDEO",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"files": [
{
"@type": "FILE",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"banners": [
{
"@type": "CHANNEL_PURCHASE_HEADER_BANNER",
"imageUrl": "https://s3.amazonaws.com/onebox-repository/pro/1/1/itemIdioma/1741/1_image_1340695930723.jpg",
"linkUrl": "http://www.website.com/channel_id"
}
]
}
},
"clientEventDiscount": {
"discountType": "AMOUNT"
}
},
"forSale": true,
"blockingReasons": "",
"hasProducts": false,
"admission": "ALL_AGES_ADMITTED",
"supportedEventType": "EVENT",
"supportedVisitorType": "INDIVIDUAL",
"attribute-values": [
{
"attribute-info": {
"id": 0,
"name": "",
"selection": "SINGLE",
"domain-value-info": [
{
"idValue": 10,
"value": "oneboxtm",
"referenceCode": "OB"
}
],
"domain": "EVENT",
"valueType": "DOMAIN_VALUE",
"referenceCode": "Attr"
},
"attribute-value": [
{
"user-input-value": {},
"domain-value": {
"value": "``",
"idValue": 30
}
}
],
"idAttribute": 50,
"description": "DESCRIPTION"
}
],
"visitorGroupConfig": "",
"hideSessionDates": false,
"showDate": false,
"showDatetime": false,
"@rates": "7 days 1 park UK/PAP17",
"season-session-info": {
"beginDate": "2015-09-01T12:00:00+01:00",
"endDate": "2015-10-01T12:00:00+01:00",
"idsSeasonSessions": [],
"seasonSessions": {
"@id": 5553432,
"internalName": "7 days 1 park",
"name": "7 days 1 park",
"description": "<P ALIGN=\\\"LEFT\\\">Six amazing worlds in just one Park, perfect for having fun in family and frends as well.</P>",
"dates": {
"datetime": [
{
"@type": "EVENT_BEGIN",
"@pendingConfirmation": false,
"@timeZoneId": "Europe/Berlin",
"$": "2018-01-07T19:00:00.000+01:00"
}
]
},
"venue": {
"@id": 432432,
"@name": "World Park",
"@timeZone": "Europe/Berlin",
"communication-elements": {
"@language": "en_US",
"images": [
{
"@type": "LOGO_WEB",
"@order": 1,
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"videos": [
{
"@type": "VIDEO",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"files": [
{
"@type": "FILE",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"banners": [
{
"@type": "CHANNEL_PURCHASE_HEADER_BANNER",
"imageUrl": "https://s3.amazonaws.com/onebox-repository/pro/1/1/itemIdioma/1741/1_image_1340695930723.jpg",
"linkUrl": "http://www.website.com/channel_id"
}
]
},
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
}
},
"space": {
"id": 150,
"name": "SPACE"
},
"event-basic-info": {
"@id": 23454,
"internalName": "7 days 1 park",
"externalReferenceCode": "EXT-123",
"title": "Theme Park",
"subtitle": "¡Discover the 6 worlds adrenaline!",
"shortDescription": "<P ALIGN=\\\"LEFT\\\">Six amazing worlds in just one Park, perfect for having fun in family and frends as well.</P>",
"longDescription": "<P ALIGN=\\\"LEFT\\\">Explore a whole world of fun and know our amazing theme parks. An ideal destination for a family getaway, located in one of the best tourist areas of Spain and just an hour from Barcelona! </ P> <BR/> <P ALIGN = \\ \"LEFT \\\"> The best entertainment, relaxation, gastronomy and shopping you can imagine. > A DESTINY AND SIX WORLDS TO DISCOVER </ P> <P ALIGN = \\ \"LEFT \\\"> Here begins a journey that takes you much further than you can imagine. At the Park we look forward to six fascinating worlds completely different, with a careful decoration to the last detail, so that you enjoy to the maximum. Emotions for all tastes. Families, friends, big and small: in our theme park, all the fun.</P>",
"additionalEventData": "",
"duration": "",
"communication-elements": {
"@language": "en_US",
"images": [
{
"@type": "LOGO_WEB",
"@order": 1,
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"videos": [
{
"@type": "VIDEO",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"files": [
{
"@type": "FILE",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"banners": [
{
"@type": "CHANNEL_PURCHASE_HEADER_BANNER",
"imageUrl": "https://s3.amazonaws.com/onebox-repository/pro/1/1/itemIdioma/1741/1_image_1340695930723.jpg",
"linkUrl": "http://www.website.com/channel_id"
}
]
},
"taxonomy": {
"@id": 68,
"code": "APRTEM",
"description": "Theme Parks",
"superior-taxonomy": {
"@id": 68,
"code": "APRTEM",
"description": "Theme Parks"
}
},
"custom-taxonomy": {
"@id": 68,
"code": "APRTEM",
"description": "Theme Parks"
},
"promoter-custom-taxonomy": {
"@id": 68,
"code": "APRTEM",
"description": "Theme Parks"
},
"languages": {
"language": [
"",
"ca_ES"
]
},
"dates": {
"datetime": [
{
"@type": "EVENT_BEGIN",
"@pendingConfirmation": false,
"@timeZoneId": "Europe/Berlin",
"$": "2018-01-07T19:00:00.000+01:00"
}
]
},
"entidad": {
"@id": 123,
"name": "Theme Park",
"nif": "A54343234",
"email": "info@theme.park",
"phoneNumber": "0034 555 55 55",
"timeZone": "Europe/Madrid",
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
}
},
"promotor": {
"@id": 475,
"corporateName": "Theme Park Entertainment SA.",
"fiscalCode": "A53776307",
"email": "info@theme.park",
"phoneNumber": "0034 555 55 55",
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
}
},
"tour": {
"@id": 475,
"name": "Theme Park",
"promotorReference": "Theme Park Entertainment SA."
},
"severalVenues": false,
"severalLocations": false,
"supraEvent": false,
"giftTicket": false,
"nominal": false,
"eventType": "EVENT",
"attribute-values": [
{
"attribute-info": {
"id": 0,
"name": "",
"selection": "SINGLE",
"domain-value-info": [
{
"idValue": 10,
"value": "oneboxtm",
"referenceCode": "OB"
}
],
"domain": "EVENT",
"valueType": "DOMAIN_VALUE",
"referenceCode": "Attr"
},
"attribute-value": [
{
"user-input-value": {},
"domain-value": {
"value": "``",
"idValue": 30
}
}
],
"idAttribute": 50,
"description": "DESCRIPTION"
}
],
"passbookPreferences": {
"communication-elements": {
"@language": "en_US",
"images": [
{
"@type": "LOGO_WEB",
"@order": 1,
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"videos": [
{
"@type": "VIDEO",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"files": [
{
"@type": "FILE",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"banners": [
{
"@type": "CHANNEL_PURCHASE_HEADER_BANNER",
"imageUrl": "https://s3.amazonaws.com/onebox-repository/pro/1/1/itemIdioma/1741/1_image_1340695930723.jpg",
"linkUrl": "http://www.website.com/channel_id"
}
]
}
},
"clientEventDiscount": {
"discountType": "AMOUNT"
}
},
"forSale": true,
"blockingReasons": "",
"hasProducts": false,
"admission": "ALL_AGES_ADMITTED",
"supportedEventType": "EVENT",
"supportedVisitorType": "INDIVIDUAL",
"attribute-values": [
{
"attribute-info": {
"id": 0,
"name": "",
"selection": "SINGLE",
"domain-value-info": [
{
"idValue": 10,
"value": "oneboxtm",
"referenceCode": "OB"
}
],
"domain": "EVENT",
"valueType": "DOMAIN_VALUE",
"referenceCode": "Attr"
},
"attribute-value": [
{
"user-input-value": {},
"domain-value": {
"value": "``",
"idValue": 30
}
}
],
"idAttribute": 50,
"description": "DESCRIPTION"
}
],
"visitorGroupConfig": "",
"hideSessionDates": false,
"showDate": false,
"showDatetime": false,
"@rates": "7 days 1 park UK/PAP17",
"season-session-info": {}
},
"@isSeasonSession": 0
}
},
"event-basic-info": {
"@id": 23454,
"internalName": "7 days 1 park",
"externalReferenceCode": "EXT-123",
"title": "Theme Park",
"subtitle": "¡Discover the 6 worlds adrenaline!",
"shortDescription": "<P ALIGN=\\\"LEFT\\\">Six amazing worlds in just one Park, perfect for having fun in family and frends as well.</P>",
"longDescription": "<P ALIGN=\\\"LEFT\\\">Explore a whole world of fun and know our amazing theme parks. An ideal destination for a family getaway, located in one of the best tourist areas of Spain and just an hour from Barcelona! </ P> <BR/> <P ALIGN = \\ \"LEFT \\\"> The best entertainment, relaxation, gastronomy and shopping you can imagine. > A DESTINY AND SIX WORLDS TO DISCOVER </ P> <P ALIGN = \\ \"LEFT \\\"> Here begins a journey that takes you much further than you can imagine. At the Park we look forward to six fascinating worlds completely different, with a careful decoration to the last detail, so that you enjoy to the maximum. Emotions for all tastes. Families, friends, big and small: in our theme park, all the fun.</P>",
"additionalEventData": "",
"duration": "",
"communication-elements": {
"@language": "en_US",
"images": [
{
"@type": "LOGO_WEB",
"@order": 1,
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"videos": [
{
"@type": "VIDEO",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"files": [
{
"@type": "FILE",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"banners": [
{
"@type": "CHANNEL_PURCHASE_HEADER_BANNER",
"imageUrl": "https://s3.amazonaws.com/onebox-repository/pro/1/1/itemIdioma/1741/1_image_1340695930723.jpg",
"linkUrl": "http://www.website.com/channel_id"
}
]
},
"taxonomy": {
"@id": 68,
"code": "APRTEM",
"description": "Theme Parks",
"superior-taxonomy": {
"@id": 68,
"code": "APRTEM",
"description": "Theme Parks"
}
},
"custom-taxonomy": {
"@id": 68,
"code": "APRTEM",
"description": "Theme Parks"
},
"promoter-custom-taxonomy": {
"@id": 68,
"code": "APRTEM",
"description": "Theme Parks"
},
"languages": {
"language": [
"",
"ca_ES"
]
},
"dates": {
"datetime": [
{
"@type": "EVENT_BEGIN",
"@pendingConfirmation": false,
"@timeZoneId": "Europe/Berlin",
"$": "2018-01-07T19:00:00.000+01:00"
}
]
},
"entidad": {
"@id": 123,
"name": "Theme Park",
"nif": "A54343234",
"email": "info@theme.park",
"phoneNumber": "0034 555 55 55",
"timeZone": "Europe/Madrid",
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
}
},
"promotor": {
"@id": 475,
"corporateName": "Theme Park Entertainment SA.",
"fiscalCode": "A53776307",
"email": "info@theme.park",
"phoneNumber": "0034 555 55 55",
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
}
},
"tour": {
"@id": 475,
"name": "Theme Park",
"promotorReference": "Theme Park Entertainment SA."
},
"severalVenues": false,
"severalLocations": false,
"supraEvent": false,
"giftTicket": false,
"nominal": false,
"eventType": "EVENT",
"attribute-values": [
{
"attribute-info": {
"id": 0,
"name": "",
"selection": "SINGLE",
"domain-value-info": [
{
"idValue": 10,
"value": "oneboxtm",
"referenceCode": "OB"
}
],
"domain": "EVENT",
"valueType": "DOMAIN_VALUE",
"referenceCode": "Attr"
},
"attribute-value": [
{
"user-input-value": {},
"domain-value": {
"value": "``",
"idValue": 30
}
}
],
"idAttribute": 50,
"description": "DESCRIPTION"
}
],
"passbookPreferences": {
"communication-elements": {
"@language": "en_US",
"images": [
{
"@type": "LOGO_WEB",
"@order": 1,
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"videos": [
{
"@type": "VIDEO",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"files": [
{
"@type": "FILE",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"banners": [
{
"@type": "CHANNEL_PURCHASE_HEADER_BANNER",
"imageUrl": "https://s3.amazonaws.com/onebox-repository/pro/1/1/itemIdioma/1741/1_image_1340695930723.jpg",
"linkUrl": "http://www.website.com/channel_id"
}
]
}
},
"clientEventDiscount": {
"discountType": "AMOUNT"
}
},
"automatic": "",
"promotion": {
"@id": 10,
"activator": "",
"promotionComElements": {
"name": "NAME",
"description": "DESCRIPTION"
}
},
"discount": {
"@id": 10,
"activator": "",
"promotionComElements": {
"name": "NAME",
"description": "DESCRIPTION"
}
},
"productAcquisitionType": "GENERAL"
},
"automatic-protmotion": {
"@id": 30,
"promotionComElements": {
"name": "NAME",
"description": "DESCRIPTION"
},
"type": "PERCENTAGE",
"value": 10,
"priceZonesIds": {
"priceZonesId": [
10,
12,
15
]
},
"group": {
"i@d": 30,
"name": "NAME",
"validationType": "CHANNEL",
"validationMethod": "PROMOTIONAL_CODE"
},
"limitedUses": false
},
"promotion": {
"@id": 30,
"promotionComElements": {
"name": "NAME",
"description": "DESCRIPTION"
},
"type": "PERCENTAGE",
"value": 10,
"priceZonesIds": {
"priceZonesId": [
10,
12,
15
]
},
"group": {
"i@d": 30,
"name": "NAME",
"validationType": "CHANNEL",
"validationMethod": "PROMOTIONAL_CODE"
},
"restrictions": {
"packItems": 0,
"maxItems": 0,
"minItems": 0
},
"mandatory": false,
"self-managed": false,
"limitedUses": false,
"dates": {
"datetime": [
{
"@type": "EVENT_BEGIN",
"@pendingConfirmation": false,
"@timeZoneId": "Europe/Berlin",
"$": "2018-01-07T19:00:00.000+01:00"
}
]
}
},
"promotionActivator": "",
"productId": 0,
"discount": {
"@id": 30,
"promotionComElements": {
"name": "NAME",
"description": "DESCRIPTION"
},
"type": "PERCENTAGE",
"value": 10,
"priceZonesIds": {
"priceZonesId": [
10,
12,
15
]
},
"group": {
"i@d": 30,
"name": "NAME",
"validationType": "CHANNEL",
"validationMethod": "PROMOTIONAL_CODE"
},
"restrictions": {
"packItems": 0,
"maxItems": 0,
"minItems": 0
},
"mandatory": false,
"self-managed": false,
"limitedUses": false,
"dates": {
"datetime": [
{
"@type": "EVENT_BEGIN",
"@pendingConfirmation": false,
"@timeZoneId": "Europe/Berlin",
"$": "2018-01-07T19:00:00.000+01:00"
}
]
}
},
"discountActivator'": "",
"price": "",
"operationsAllowed": {
"printInvoice": false
},
"attendant": {
"field": [
{
"@name": "",
"@value": ""
}
],
"clientDiscount": {
"@value": 0,
"type": "PERCENT"
},
"clientCommission": {
"@value": 0,
"type": "PERCENT"
}
},
"itemWarning": [
"",
"SESSION_NON_CONSECUTIVE_SEAT"
],
"modifyingBookingOrderCode": "",
"clientConiditions": {
"@id": 123
},
"@id": 0,
"@type": "TICKET"
}
}
],
"deliveryMethod": 0,
"deliveryCosts": 0,
"insurance": {
"@id": 123,
"name": "",
"description": "",
"privacyPolicy": "",
"termsOfUse": "",
"additionalData": ""
},
"visitorGroup": [
{
"@id": 123,
"name": "",
"numAttendants": 0,
"numAccompanists": 0,
"attribute-values": [
{
"attribute-info": {
"id": 0,
"name": "",
"selection": "SINGLE",
"domain-value-info": [
{
"idValue": 10,
"value": "oneboxtm",
"referenceCode": "OB"
}
],
"domain": "EVENT",
"valueType": "DOMAIN_VALUE",
"referenceCode": "Attr"
},
"attribute-value": [
{
"user-input-value": {},
"domain-value": {
"value": "``",
"idValue": 30
}
}
],
"idAttribute": 50,
"description": "DESCRIPTION"
}
]
}
],
"totalPriceBreakdown": {
"base-price": 10,
"automatic-promotion": 0,
"manual-promotion": 0,
"manual-discount": 0,
"client-discount": 0,
"client-comission": 0,
"charges": {
"charge": [
{
"@type": "CHANNEL_CHARGE",
"value 1.5": 0
}
]
},
"delivery-costs": 0,
"insurance": 0,
"taxes": {
"tax": [
{
"@id": 10,
"value": 0
}
]
},
"final-price": 20
},
"platformClient": {
"id": 123,
"name": "",
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
},
"clientB2B": {
"businessName": "",
"description": "",
"iataCode": "",
"taxId": "",
"tags": "",
"clientB2BBranch": {
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
},
"contactName": "",
"contactEmail": "",
"contactPhone": "",
"@main": false
},
"user": {
"@id": 123,
"name": "",
"email": "",
"username": ""
},
"@category": 0
},
"type": "B2B"
},
"@token": "",
"@currency": "",
"@timeleft": 0
}Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"client": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique customer identifier."
},
"name": {
"type": "string"
},
"lastname": {
"type": "string"
},
"$": {
"type": "string"
},
"email": {
"type": "string"
},
"receiptMail": {
"type": "string"
},
"ticketMail": {
"type": "string"
},
"phone": {
"type": "string"
},
"identification": {
"type": "object",
"properties": {
"value": {
"type": "string"
},
"@type": {
"type": "string"
}
},
"required": [
"value",
"@type"
]
},
"gender": {
"type": "string",
"enum": [
"NOT_DEFINED",
"MALE",
"FEMALE"
]
},
"location": {
"type": "object",
"properties": {
"address": {
"type": "string",
"description": "Venue address where the event will be performed."
},
"city": {
"type": "string",
"description": "City where the event will be performed."
},
"postalCode": {
"type": "string",
"description": "Postal code or zip code where the event will be performed."
},
"countrySubdivision": {
"type": "object",
"properties": {
"@code": {
"type": "string",
"description": "Item unique identifier."
},
"$": {
"type": "string",
"description": "Item value string."
}
},
"required": [
"@code",
"$"
],
"description": "`Country subdivision, this shall be the province, state or county. Ie: ES-T - Tarragona.`"
},
"country": {
"type": "object",
"properties": {
"@code": {
"type": "string",
"description": "Item unique identifier."
},
"$": {
"type": "string",
"description": "Item value string."
}
},
"required": [
"@code",
"$"
],
"description": "`Ie: ES - Spain.`"
},
"coordinates": {
"type": "string"
}
},
"required": [
"address",
"city",
"postalCode",
"countrySubdivision",
"country"
]
},
"idCard": {
"type": "string"
},
"docType": {
"type": "number"
},
"profile-data": {
"type": "object",
"properties": {
"@`profile-id`": {
"type": "number",
"description": "Unique profile data identifier."
},
"profile-field": {
"type": "array"
}
},
"required": [
"@`profile-id`"
]
},
"language": {
"type": "object",
"properties": {
"value": {
"type": "string"
},
"@code": {
"type": "string"
}
},
"required": [
"value",
"@code"
]
},
"groupValidation": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@idGroup": {
"type": "number",
"description": "Unique group validation identifier."
},
"user": {
"type": "string"
},
"promotionalCode": {
"type": "string"
},
"externalProperties": {
"type": "object",
"properties": {
"externalId": {
"type": "string"
}
}
}
},
"required": [
"@idGroup",
"user",
"promotionalCode"
]
}
},
"allowCommercialMailing": {
"type": "boolean"
}
},
"required": [
"@id",
"name",
"lastname",
"$",
"gender",
"location"
]
},
"shoppingCartItem": {
"type": "array"
},
"deliveryMethod": {
"type": "number"
},
"deliveryCosts": {
"type": "number"
},
"insurance": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique insurance identifier."
},
"name": {
"type": "string"
},
"description": {
"type": "string"
},
"privacyPolicy": {
"type": "string"
},
"termsOfUse": {
"type": "string"
},
"additionalData": {
"type": "string"
}
},
"required": [
"@id",
"name",
"description",
"privacyPolicy",
"termsOfUse",
"additionalData"
]
},
"visitorGroup": {
"type": "array"
},
"totalPriceBreakdown": {
"type": "object",
"properties": {
"base-price": {
"type": "number"
},
"automatic-promotion": {
"type": "number"
},
"manual-promotion": {
"type": "number"
},
"manual-discount": {
"type": "number"
},
"client-discount": {
"type": "number"
},
"client-comission": {
"type": "number"
},
"charges": {
"type": "object",
"properties": {
"charge": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"enum": [
"CHANNEL_CHARGE",
"PROMOTER_CHARGE",
"PROMOTER_CHANNEL_CHARGE"
]
},
"value 1.5": {
"type": "number",
"description": "Value of the charge."
}
},
"required": [
"value 1.5"
]
}
}
},
"required": [
"charge"
]
},
"delivery-costs": {
"type": "number"
},
"insurance": {
"type": "number"
},
"taxes": {
"type": "object",
"properties": {
"tax": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique product identifier."
},
"value": {
"type": "number"
}
},
"required": [
"@id",
"value"
]
}
}
},
"required": [
"tax"
]
},
"final-price": {
"type": "number"
}
},
"required": [
"base-price",
"final-price"
]
},
"platformClient": {
"type": "object",
"properties": {
"id": {
"type": "number",
"description": "Unique platform client identifier."
},
"name": {
"type": "string"
},
"location": {
"type": "object",
"properties": {
"address": {
"type": "string",
"description": "Venue address where the event will be performed."
},
"city": {
"type": "string",
"description": "City where the event will be performed."
},
"postalCode": {
"type": "string",
"description": "Postal code or zip code where the event will be performed."
},
"countrySubdivision": {
"type": "object",
"properties": {
"@code": {
"type": "string",
"description": "Item unique identifier."
},
"$": {
"type": "string",
"description": "Item value string."
}
},
"required": [
"@code",
"$"
],
"description": "`Country subdivision, this shall be the province, state or county. Ie: ES-T - Tarragona.`"
},
"country": {
"type": "object",
"properties": {
"@code": {
"type": "string",
"description": "Item unique identifier."
},
"$": {
"type": "string",
"description": "Item value string."
}
},
"required": [
"@code",
"$"
],
"description": "`Ie: ES - Spain.`"
},
"coordinates": {
"type": "string"
}
},
"required": [
"address",
"city",
"postalCode",
"countrySubdivision",
"country"
]
},
"clientB2B": {
"type": "object",
"properties": {
"businessName": {
"type": "string"
},
"description": {
"type": "string"
},
"iataCode": {
"type": "string"
},
"taxId": {
"type": "string"
},
"tags": {
"type": "string"
},
"clientB2BBranch": {
"type": "object",
"properties": {
"location": {
"type": "object",
"properties": {
"address": {
"type": "string",
"description": "Venue address where the event will be performed."
},
"city": {
"type": "string",
"description": "City where the event will be performed."
},
"postalCode": {
"type": "string",
"description": "Postal code or zip code where the event will be performed."
},
"countrySubdivision": {
"type": "object",
"properties": {
"@code": {
"type": "string",
"description": "Item unique identifier."
},
"$": {
"type": "string",
"description": "Item value string."
}
},
"required": [
"@code",
"$"
],
"description": "`Country subdivision, this shall be the province, state or county. Ie: ES-T - Tarragona.`"
},
"country": {
"type": "object",
"properties": {
"@code": {
"type": "string",
"description": "Item unique identifier."
},
"$": {
"type": "string",
"description": "Item value string."
}
},
"required": [
"@code",
"$"
],
"description": "`Ie: ES - Spain.`"
},
"coordinates": {
"type": "string"
}
},
"required": [
"address",
"city",
"postalCode",
"countrySubdivision",
"country"
]
},
"contactName": {
"type": "string"
},
"contactEmail": {
"type": "string"
},
"contactPhone": {
"type": "string"
},
"@main": {
"type": "boolean"
}
},
"required": [
"location",
"contactName",
"contactEmail",
"contactPhone",
"@main"
]
},
"user": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique user identifier."
},
"name": {
"type": "string"
},
"email": {
"type": "string"
},
"username": {
"type": "string"
}
},
"required": [
"@id",
"name",
"email",
"username"
]
},
"@category": {
"type": "number"
}
},
"required": [
"businessName",
"description",
"iataCode",
"taxId",
"tags",
"clientB2BBranch",
"user"
]
},
"type": {
"type": "string",
"enum": [
"B2B",
"B2C"
]
}
},
"required": [
"id",
"name"
]
},
"@token": {
"type": "string"
},
"@currency": {
"type": "string"
},
"@timeleft": {
"type": "number"
}
},
"required": [
"client",
"shoppingCartItem",
"visitorGroup",
"totalPriceBreakdown",
"platformClient",
"@token",
"@currency",
"@timeleft"
]
}Headers
Content-Type: application/json;charset=UTF-8Body
{
"error": "Bad request",
"error_description": "There was a syntax error, check your params request and try it again."
}Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"error": {
"type": "string",
"description": "Short http error code description"
},
"error_description": {
"type": "string",
"description": "Detailed description of the error returned."
}
},
"required": [
"error",
"error_description"
]
}Headers
Content-Type: application/json;charset=UTF-8Body
{
"error": "Unauthorized",
"error_description": "Full authentication is required to access this resource"
}Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"error": {
"type": "string",
"description": "Short http error code description."
},
"error_description": {
"type": "string",
"description": "Detailed description of the error returned."
}
},
"required": [
"error",
"error_description"
]
}Headers
Content-Type: application/json;charset=UTF-8Body
{
"statusCode": 1010,
"responseTime": "08-03-2017 13:46:03.657"
}Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"statusCode": {
"type": "number",
"description": "This is the Onebox error codes. Get the full list here: [go to Onebox error responses](http://developer.oneboxtickets.com/httpresponsecodes.html)"
},
"responseTime": {
"type": "string"
}
},
"required": [
"statusCode",
"responseTime"
]
}Create a new Shopping CartPOST/shoppingCart/create
This will return a token id as a unique identifier.
Add Seats ¶
Headers
Authorization: Bearer [ACCESS_TOKEN]
Content-Type: application/json
Accept: application/json+ Headers
traceID: `String: Unique id to identify the transaction within the Onebox API audit system`
OB_Error_Code: `Number: This is the Onebox error codes. Get the full list here: [go to Onebox error responses](http://developer.oneboxtickets.com/httpresponsecodes.html)`
Headers
Content-Type: application/json;charset=UTF-8Body
{
"client": {
"@id": 123,
"name": "First name",
"lastname": "Last name",
"$": "1970-01-01",
"email": "email@domain.com",
"receiptMail": "email@domain.com",
"ticketMail": "email@domain.com",
"phone": "0034 555 55 55",
"identification": {
"value": "",
"@type": ""
},
"gender": "NOT_DEFINED",
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
},
"profile-data": {
"@`profile-id`": 123,
"profile-field": [
{
"@`field-id`": 123,
"idValue": [],
"user-input-value": []
}
]
},
"language": {
"value": "",
"@code": ""
},
"groupValidation": [
{
"@idGroup": 123,
"user": "",
"promotionalCode": "",
"externalProperties": {}
}
]
},
"shoppingCartItem": [
{
"shopping-cart-item": {
"ticket-data": {},
"product-data": {
"venue": {
"@id": 432432,
"@name": "World Park",
"@timeZone": "Europe/Berlin",
"communication-elements": {
"@language": "en_US",
"images": [
{
"@type": "LOGO_WEB",
"@order": 1,
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"videos": [
{
"@type": "VIDEO",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"files": [
{
"@type": "FILE",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"banners": [
{
"@type": "CHANNEL_PURCHASE_HEADER_BANNER",
"imageUrl": "https://s3.amazonaws.com/onebox-repository/pro/1/1/itemIdioma/1741/1_image_1340695930723.jpg",
"linkUrl": "http://www.website.com/channel_id"
}
]
},
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
}
},
"product-info": {
"@id": 10,
"internalName": "",
"name": "",
"dates": {
"datetime": [
{
"@type": "EVENT_BEGIN",
"@pendingConfirmation": false,
"@timeZoneId": "Europe/Berlin",
"$": "2018-01-07T19:00:00.000+01:00"
}
]
},
"venue": {
"@id": 432432,
"@name": "World Park",
"@timeZone": "Europe/Berlin",
"communication-elements": {
"@language": "en_US",
"images": [
{
"@type": "LOGO_WEB",
"@order": 1,
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"videos": [
{
"@type": "VIDEO",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"files": [
{
"@type": "FILE",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"banners": [
{
"@type": "CHANNEL_PURCHASE_HEADER_BANNER",
"imageUrl": "https://s3.amazonaws.com/onebox-repository/pro/1/1/itemIdioma/1741/1_image_1340695930723.jpg",
"linkUrl": "http://www.website.com/channel_id"
}
]
},
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
}
},
"catalog-info": {
"entityId": 0,
"name": ""
},
"attributes": {
"attribute": [
{
"@id": 10,
"name": ""
}
]
},
"product-image": [],
"forSale": false,
"bookable": false,
"product-variant": [
{
"id": 10,
"sku": "",
"price-breakdown": {
"base-price": 10,
"automatic-promotion": 0,
"manual-promotion": 0,
"manual-discount": 0,
"client-discount": 0,
"client-comission": 0,
"charges": {
"charge": [
{
"@type": "CHANNEL_CHARGE",
"value 1.5": 0
}
]
},
"delivery-costs": 0,
"insurance": 0,
"taxes": {
"tax": [
{
"@id": 10,
"value": 0
}
]
},
"final-price": 20
},
"limited-stock": false,
"variant-availability": 0,
"variant-attributes": {
"variant-attribute": [
{
"attribute": {
"@id": 10,
"name": ""
},
"value": ""
}
]
},
"venue": {
"@id": 432432,
"@name": "World Park",
"@timeZone": "Europe/Berlin",
"communication-elements": {
"@language": "en_US",
"images": [
{
"@type": "LOGO_WEB",
"@order": 1,
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"videos": [
{
"@type": "VIDEO",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"files": [
{
"@type": "FILE",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"banners": [
{
"@type": "CHANNEL_PURCHASE_HEADER_BANNER",
"imageUrl": "https://s3.amazonaws.com/onebox-repository/pro/1/1/itemIdioma/1741/1_image_1340695930723.jpg",
"linkUrl": "http://www.website.com/channel_id"
}
]
},
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
}
},
"catalog-info": {
"entityId": 0,
"name": ""
},
"product-info": {
"@id": 10,
"internalName": "",
"name": "",
"dates": {
"datetime": [
{
"@type": "EVENT_BEGIN",
"@pendingConfirmation": false,
"@timeZoneId": "Europe/Berlin",
"$": "2018-01-07T19:00:00.000+01:00"
}
]
},
"venue": {
"@id": 432432,
"@name": "World Park",
"@timeZone": "Europe/Berlin",
"communication-elements": {
"@language": "en_US",
"images": [
{
"@type": "LOGO_WEB",
"@order": 1,
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"videos": [
{
"@type": "VIDEO",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"files": [
{
"@type": "FILE",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"banners": [
{
"@type": "CHANNEL_PURCHASE_HEADER_BANNER",
"imageUrl": "https://s3.amazonaws.com/onebox-repository/pro/1/1/itemIdioma/1741/1_image_1340695930723.jpg",
"linkUrl": "http://www.website.com/channel_id"
}
]
},
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
}
},
"catalog-info": {
"entityId": 0,
"name": ""
},
"attributes": {
"attribute": [
{
"@id": 10,
"name": ""
}
]
},
"product-image": [],
"forSale": false,
"bookable": false,
"product-variant": []
}
}
]
},
"variant-attributes": {
"variant-attribute": [
{
"attribute": {
"@id": 10,
"name": ""
},
"value": ""
}
]
},
"printouts": 0,
"cancellations": 0,
"status": "PURCHASED",
"sku": "",
"customer": {
"@id": 123,
"name": "First name",
"lastname": "Last name",
"$": "1970-01-01",
"email": "email@domain.com",
"receiptMail": "email@domain.com",
"ticketMail": "email@domain.com",
"phone": "0034 555 55 55",
"identification": {
"value": "",
"@type": ""
},
"gender": "NOT_DEFINED",
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
},
"profile-data": {
"@`profile-id`": 123,
"profile-field": [
{
"@`field-id`": 123,
"idValue": [],
"user-input-value": []
}
]
},
"language": {
"value": "",
"@code": ""
},
"groupValidation": [
{
"@idGroup": 123,
"user": "",
"promotionalCode": "",
"externalProperties": {}
}
]
},
"session-basic-info": {
"@id": 5553432,
"internalName": "7 days 1 park",
"name": "7 days 1 park",
"description": "<P ALIGN=\\\"LEFT\\\">Six amazing worlds in just one Park, perfect for having fun in family and frends as well.</P>",
"dates": {
"datetime": [
{
"@type": "EVENT_BEGIN",
"@pendingConfirmation": false,
"@timeZoneId": "Europe/Berlin",
"$": "2018-01-07T19:00:00.000+01:00"
}
]
},
"venue": {
"@id": 432432,
"@name": "World Park",
"@timeZone": "Europe/Berlin",
"communication-elements": {
"@language": "en_US",
"images": [
{
"@type": "LOGO_WEB",
"@order": 1,
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"videos": [
{
"@type": "VIDEO",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"files": [
{
"@type": "FILE",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"banners": [
{
"@type": "CHANNEL_PURCHASE_HEADER_BANNER",
"imageUrl": "https://s3.amazonaws.com/onebox-repository/pro/1/1/itemIdioma/1741/1_image_1340695930723.jpg",
"linkUrl": "http://www.website.com/channel_id"
}
]
},
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
}
},
"space": {
"id": 150,
"name": "SPACE"
},
"event-basic-info": {
"@id": 23454,
"internalName": "7 days 1 park",
"externalReferenceCode": "EXT-123",
"title": "Theme Park",
"subtitle": "¡Discover the 6 worlds adrenaline!",
"shortDescription": "<P ALIGN=\\\"LEFT\\\">Six amazing worlds in just one Park, perfect for having fun in family and frends as well.</P>",
"longDescription": "<P ALIGN=\\\"LEFT\\\">Explore a whole world of fun and know our amazing theme parks. An ideal destination for a family getaway, located in one of the best tourist areas of Spain and just an hour from Barcelona! </ P> <BR/> <P ALIGN = \\ \"LEFT \\\"> The best entertainment, relaxation, gastronomy and shopping you can imagine. > A DESTINY AND SIX WORLDS TO DISCOVER </ P> <P ALIGN = \\ \"LEFT \\\"> Here begins a journey that takes you much further than you can imagine. At the Park we look forward to six fascinating worlds completely different, with a careful decoration to the last detail, so that you enjoy to the maximum. Emotions for all tastes. Families, friends, big and small: in our theme park, all the fun.</P>",
"additionalEventData": "",
"duration": "",
"communication-elements": {
"@language": "en_US",
"images": [
{
"@type": "LOGO_WEB",
"@order": 1,
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"videos": [
{
"@type": "VIDEO",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"files": [
{
"@type": "FILE",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"banners": [
{
"@type": "CHANNEL_PURCHASE_HEADER_BANNER",
"imageUrl": "https://s3.amazonaws.com/onebox-repository/pro/1/1/itemIdioma/1741/1_image_1340695930723.jpg",
"linkUrl": "http://www.website.com/channel_id"
}
]
},
"taxonomy": {
"@id": 68,
"code": "APRTEM",
"description": "Theme Parks",
"superior-taxonomy": {
"@id": 68,
"code": "APRTEM",
"description": "Theme Parks"
}
},
"custom-taxonomy": {
"@id": 68,
"code": "APRTEM",
"description": "Theme Parks"
},
"promoter-custom-taxonomy": {
"@id": 68,
"code": "APRTEM",
"description": "Theme Parks"
},
"languages": {
"language": [
"",
"ca_ES"
]
},
"dates": {
"datetime": [
{
"@type": "EVENT_BEGIN",
"@pendingConfirmation": false,
"@timeZoneId": "Europe/Berlin",
"$": "2018-01-07T19:00:00.000+01:00"
}
]
},
"entidad": {
"@id": 123,
"name": "Theme Park",
"nif": "A54343234",
"email": "info@theme.park",
"phoneNumber": "0034 555 55 55",
"timeZone": "Europe/Madrid",
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
}
},
"promotor": {
"@id": 475,
"corporateName": "Theme Park Entertainment SA.",
"fiscalCode": "A53776307",
"email": "info@theme.park",
"phoneNumber": "0034 555 55 55",
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
}
},
"tour": {
"@id": 475,
"name": "Theme Park",
"promotorReference": "Theme Park Entertainment SA."
},
"severalVenues": false,
"severalLocations": false,
"supraEvent": false,
"giftTicket": false,
"nominal": false,
"eventType": "EVENT",
"attribute-values": [
{
"attribute-info": {
"id": 0,
"name": "",
"selection": "SINGLE",
"domain-value-info": [
{
"idValue": 10,
"value": "oneboxtm",
"referenceCode": "OB"
}
],
"domain": "EVENT",
"valueType": "DOMAIN_VALUE",
"referenceCode": "Attr"
},
"attribute-value": [
{
"user-input-value": {},
"domain-value": {
"value": "``",
"idValue": 30
}
}
],
"idAttribute": 50,
"description": "DESCRIPTION"
}
],
"passbookPreferences": {
"communication-elements": {
"@language": "en_US",
"images": [
{
"@type": "LOGO_WEB",
"@order": 1,
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"videos": [
{
"@type": "VIDEO",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"files": [
{
"@type": "FILE",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"banners": [
{
"@type": "CHANNEL_PURCHASE_HEADER_BANNER",
"imageUrl": "https://s3.amazonaws.com/onebox-repository/pro/1/1/itemIdioma/1741/1_image_1340695930723.jpg",
"linkUrl": "http://www.website.com/channel_id"
}
]
}
},
"clientEventDiscount": {
"discountType": "AMOUNT"
}
},
"forSale": true,
"blockingReasons": "",
"hasProducts": false,
"admission": "ALL_AGES_ADMITTED",
"supportedEventType": "EVENT",
"supportedVisitorType": "INDIVIDUAL",
"attribute-values": [
{
"attribute-info": {
"id": 0,
"name": "",
"selection": "SINGLE",
"domain-value-info": [
{
"idValue": 10,
"value": "oneboxtm",
"referenceCode": "OB"
}
],
"domain": "EVENT",
"valueType": "DOMAIN_VALUE",
"referenceCode": "Attr"
},
"attribute-value": [
{
"user-input-value": {},
"domain-value": {
"value": "``",
"idValue": 30
}
}
],
"idAttribute": 50,
"description": "DESCRIPTION"
}
],
"visitorGroupConfig": "",
"hideSessionDates": false,
"showDate": false,
"showDatetime": false,
"@rates": "7 days 1 park UK/PAP17",
"season-session-info": {
"beginDate": "2015-09-01T12:00:00+01:00",
"endDate": "2015-10-01T12:00:00+01:00",
"idsSeasonSessions": [],
"seasonSessions": {
"@id": 5553432,
"internalName": "7 days 1 park",
"name": "7 days 1 park",
"description": "<P ALIGN=\\\"LEFT\\\">Six amazing worlds in just one Park, perfect for having fun in family and frends as well.</P>",
"dates": {
"datetime": [
{
"@type": "EVENT_BEGIN",
"@pendingConfirmation": false,
"@timeZoneId": "Europe/Berlin",
"$": "2018-01-07T19:00:00.000+01:00"
}
]
},
"venue": {
"@id": 432432,
"@name": "World Park",
"@timeZone": "Europe/Berlin",
"communication-elements": {
"@language": "en_US",
"images": [
{
"@type": "LOGO_WEB",
"@order": 1,
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"videos": [
{
"@type": "VIDEO",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"files": [
{
"@type": "FILE",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"banners": [
{
"@type": "CHANNEL_PURCHASE_HEADER_BANNER",
"imageUrl": "https://s3.amazonaws.com/onebox-repository/pro/1/1/itemIdioma/1741/1_image_1340695930723.jpg",
"linkUrl": "http://www.website.com/channel_id"
}
]
},
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
}
},
"space": {
"id": 150,
"name": "SPACE"
},
"event-basic-info": {
"@id": 23454,
"internalName": "7 days 1 park",
"externalReferenceCode": "EXT-123",
"title": "Theme Park",
"subtitle": "¡Discover the 6 worlds adrenaline!",
"shortDescription": "<P ALIGN=\\\"LEFT\\\">Six amazing worlds in just one Park, perfect for having fun in family and frends as well.</P>",
"longDescription": "<P ALIGN=\\\"LEFT\\\">Explore a whole world of fun and know our amazing theme parks. An ideal destination for a family getaway, located in one of the best tourist areas of Spain and just an hour from Barcelona! </ P> <BR/> <P ALIGN = \\ \"LEFT \\\"> The best entertainment, relaxation, gastronomy and shopping you can imagine. > A DESTINY AND SIX WORLDS TO DISCOVER </ P> <P ALIGN = \\ \"LEFT \\\"> Here begins a journey that takes you much further than you can imagine. At the Park we look forward to six fascinating worlds completely different, with a careful decoration to the last detail, so that you enjoy to the maximum. Emotions for all tastes. Families, friends, big and small: in our theme park, all the fun.</P>",
"additionalEventData": "",
"duration": "",
"communication-elements": {
"@language": "en_US",
"images": [
{
"@type": "LOGO_WEB",
"@order": 1,
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"videos": [
{
"@type": "VIDEO",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"files": [
{
"@type": "FILE",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"banners": [
{
"@type": "CHANNEL_PURCHASE_HEADER_BANNER",
"imageUrl": "https://s3.amazonaws.com/onebox-repository/pro/1/1/itemIdioma/1741/1_image_1340695930723.jpg",
"linkUrl": "http://www.website.com/channel_id"
}
]
},
"taxonomy": {
"@id": 68,
"code": "APRTEM",
"description": "Theme Parks",
"superior-taxonomy": {
"@id": 68,
"code": "APRTEM",
"description": "Theme Parks"
}
},
"custom-taxonomy": {
"@id": 68,
"code": "APRTEM",
"description": "Theme Parks"
},
"promoter-custom-taxonomy": {
"@id": 68,
"code": "APRTEM",
"description": "Theme Parks"
},
"languages": {
"language": [
"",
"ca_ES"
]
},
"dates": {
"datetime": [
{
"@type": "EVENT_BEGIN",
"@pendingConfirmation": false,
"@timeZoneId": "Europe/Berlin",
"$": "2018-01-07T19:00:00.000+01:00"
}
]
},
"entidad": {
"@id": 123,
"name": "Theme Park",
"nif": "A54343234",
"email": "info@theme.park",
"phoneNumber": "0034 555 55 55",
"timeZone": "Europe/Madrid",
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
}
},
"promotor": {
"@id": 475,
"corporateName": "Theme Park Entertainment SA.",
"fiscalCode": "A53776307",
"email": "info@theme.park",
"phoneNumber": "0034 555 55 55",
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
}
},
"tour": {
"@id": 475,
"name": "Theme Park",
"promotorReference": "Theme Park Entertainment SA."
},
"severalVenues": false,
"severalLocations": false,
"supraEvent": false,
"giftTicket": false,
"nominal": false,
"eventType": "EVENT",
"attribute-values": [
{
"attribute-info": {
"id": 0,
"name": "",
"selection": "SINGLE",
"domain-value-info": [
{
"idValue": 10,
"value": "oneboxtm",
"referenceCode": "OB"
}
],
"domain": "EVENT",
"valueType": "DOMAIN_VALUE",
"referenceCode": "Attr"
},
"attribute-value": [
{
"user-input-value": {},
"domain-value": {
"value": "``",
"idValue": 30
}
}
],
"idAttribute": 50,
"description": "DESCRIPTION"
}
],
"passbookPreferences": {
"communication-elements": {
"@language": "en_US",
"images": [
{
"@type": "LOGO_WEB",
"@order": 1,
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"videos": [
{
"@type": "VIDEO",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"files": [
{
"@type": "FILE",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"banners": [
{
"@type": "CHANNEL_PURCHASE_HEADER_BANNER",
"imageUrl": "https://s3.amazonaws.com/onebox-repository/pro/1/1/itemIdioma/1741/1_image_1340695930723.jpg",
"linkUrl": "http://www.website.com/channel_id"
}
]
}
},
"clientEventDiscount": {
"discountType": "AMOUNT"
}
},
"forSale": true,
"blockingReasons": "",
"hasProducts": false,
"admission": "ALL_AGES_ADMITTED",
"supportedEventType": "EVENT",
"supportedVisitorType": "INDIVIDUAL",
"attribute-values": [
{
"attribute-info": {
"id": 0,
"name": "",
"selection": "SINGLE",
"domain-value-info": [
{
"idValue": 10,
"value": "oneboxtm",
"referenceCode": "OB"
}
],
"domain": "EVENT",
"valueType": "DOMAIN_VALUE",
"referenceCode": "Attr"
},
"attribute-value": [
{
"user-input-value": {},
"domain-value": {
"value": "``",
"idValue": 30
}
}
],
"idAttribute": 50,
"description": "DESCRIPTION"
}
],
"visitorGroupConfig": "",
"hideSessionDates": false,
"showDate": false,
"showDatetime": false,
"@rates": "7 days 1 park UK/PAP17",
"season-session-info": {}
},
"@isSeasonSession": 0
}
},
"event-basic-info": {
"@id": 23454,
"internalName": "7 days 1 park",
"externalReferenceCode": "EXT-123",
"title": "Theme Park",
"subtitle": "¡Discover the 6 worlds adrenaline!",
"shortDescription": "<P ALIGN=\\\"LEFT\\\">Six amazing worlds in just one Park, perfect for having fun in family and frends as well.</P>",
"longDescription": "<P ALIGN=\\\"LEFT\\\">Explore a whole world of fun and know our amazing theme parks. An ideal destination for a family getaway, located in one of the best tourist areas of Spain and just an hour from Barcelona! </ P> <BR/> <P ALIGN = \\ \"LEFT \\\"> The best entertainment, relaxation, gastronomy and shopping you can imagine. > A DESTINY AND SIX WORLDS TO DISCOVER </ P> <P ALIGN = \\ \"LEFT \\\"> Here begins a journey that takes you much further than you can imagine. At the Park we look forward to six fascinating worlds completely different, with a careful decoration to the last detail, so that you enjoy to the maximum. Emotions for all tastes. Families, friends, big and small: in our theme park, all the fun.</P>",
"additionalEventData": "",
"duration": "",
"communication-elements": {
"@language": "en_US",
"images": [
{
"@type": "LOGO_WEB",
"@order": 1,
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"videos": [
{
"@type": "VIDEO",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"files": [
{
"@type": "FILE",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"banners": [
{
"@type": "CHANNEL_PURCHASE_HEADER_BANNER",
"imageUrl": "https://s3.amazonaws.com/onebox-repository/pro/1/1/itemIdioma/1741/1_image_1340695930723.jpg",
"linkUrl": "http://www.website.com/channel_id"
}
]
},
"taxonomy": {
"@id": 68,
"code": "APRTEM",
"description": "Theme Parks",
"superior-taxonomy": {
"@id": 68,
"code": "APRTEM",
"description": "Theme Parks"
}
},
"custom-taxonomy": {
"@id": 68,
"code": "APRTEM",
"description": "Theme Parks"
},
"promoter-custom-taxonomy": {
"@id": 68,
"code": "APRTEM",
"description": "Theme Parks"
},
"languages": {
"language": [
"",
"ca_ES"
]
},
"dates": {
"datetime": [
{
"@type": "EVENT_BEGIN",
"@pendingConfirmation": false,
"@timeZoneId": "Europe/Berlin",
"$": "2018-01-07T19:00:00.000+01:00"
}
]
},
"entidad": {
"@id": 123,
"name": "Theme Park",
"nif": "A54343234",
"email": "info@theme.park",
"phoneNumber": "0034 555 55 55",
"timeZone": "Europe/Madrid",
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
}
},
"promotor": {
"@id": 475,
"corporateName": "Theme Park Entertainment SA.",
"fiscalCode": "A53776307",
"email": "info@theme.park",
"phoneNumber": "0034 555 55 55",
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
}
},
"tour": {
"@id": 475,
"name": "Theme Park",
"promotorReference": "Theme Park Entertainment SA."
},
"severalVenues": false,
"severalLocations": false,
"supraEvent": false,
"giftTicket": false,
"nominal": false,
"eventType": "EVENT",
"attribute-values": [
{
"attribute-info": {
"id": 0,
"name": "",
"selection": "SINGLE",
"domain-value-info": [
{
"idValue": 10,
"value": "oneboxtm",
"referenceCode": "OB"
}
],
"domain": "EVENT",
"valueType": "DOMAIN_VALUE",
"referenceCode": "Attr"
},
"attribute-value": [
{
"user-input-value": {},
"domain-value": {
"value": "``",
"idValue": 30
}
}
],
"idAttribute": 50,
"description": "DESCRIPTION"
}
],
"passbookPreferences": {
"communication-elements": {
"@language": "en_US",
"images": [
{
"@type": "LOGO_WEB",
"@order": 1,
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"videos": [
{
"@type": "VIDEO",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"files": [
{
"@type": "FILE",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"banners": [
{
"@type": "CHANNEL_PURCHASE_HEADER_BANNER",
"imageUrl": "https://s3.amazonaws.com/onebox-repository/pro/1/1/itemIdioma/1741/1_image_1340695930723.jpg",
"linkUrl": "http://www.website.com/channel_id"
}
]
}
},
"clientEventDiscount": {
"discountType": "AMOUNT"
}
},
"automatic": "",
"promotion": {
"@id": 10,
"activator": "",
"promotionComElements": {
"name": "NAME",
"description": "DESCRIPTION"
}
},
"discount": {
"@id": 10,
"activator": "",
"promotionComElements": {
"name": "NAME",
"description": "DESCRIPTION"
}
},
"productAcquisitionType": "GENERAL"
},
"automatic-protmotion": {
"@id": 30,
"promotionComElements": {
"name": "NAME",
"description": "DESCRIPTION"
},
"type": "PERCENTAGE",
"value": 10,
"priceZonesIds": {
"priceZonesId": [
10,
12,
15
]
},
"group": {
"i@d": 30,
"name": "NAME",
"validationType": "CHANNEL",
"validationMethod": "PROMOTIONAL_CODE"
},
"limitedUses": false
},
"promotion": {
"@id": 30,
"promotionComElements": {
"name": "NAME",
"description": "DESCRIPTION"
},
"type": "PERCENTAGE",
"value": 10,
"priceZonesIds": {
"priceZonesId": [
10,
12,
15
]
},
"group": {
"i@d": 30,
"name": "NAME",
"validationType": "CHANNEL",
"validationMethod": "PROMOTIONAL_CODE"
},
"restrictions": {
"packItems": 0,
"maxItems": 0,
"minItems": 0
},
"mandatory": false,
"self-managed": false,
"limitedUses": false,
"dates": {
"datetime": [
{
"@type": "EVENT_BEGIN",
"@pendingConfirmation": false,
"@timeZoneId": "Europe/Berlin",
"$": "2018-01-07T19:00:00.000+01:00"
}
]
}
},
"promotionActivator": "",
"productId": 0,
"discount": {
"@id": 30,
"promotionComElements": {
"name": "NAME",
"description": "DESCRIPTION"
},
"type": "PERCENTAGE",
"value": 10,
"priceZonesIds": {
"priceZonesId": [
10,
12,
15
]
},
"group": {
"i@d": 30,
"name": "NAME",
"validationType": "CHANNEL",
"validationMethod": "PROMOTIONAL_CODE"
},
"restrictions": {
"packItems": 0,
"maxItems": 0,
"minItems": 0
},
"mandatory": false,
"self-managed": false,
"limitedUses": false,
"dates": {
"datetime": [
{
"@type": "EVENT_BEGIN",
"@pendingConfirmation": false,
"@timeZoneId": "Europe/Berlin",
"$": "2018-01-07T19:00:00.000+01:00"
}
]
}
},
"discountActivator'": "",
"price": "",
"operationsAllowed": {
"printInvoice": false
},
"attendant": {
"field": [
{
"@name": "",
"@value": ""
}
],
"clientDiscount": {
"@value": 0,
"type": "PERCENT"
},
"clientCommission": {
"@value": 0,
"type": "PERCENT"
}
},
"itemWarning": [
"",
"SESSION_NON_CONSECUTIVE_SEAT"
],
"modifyingBookingOrderCode": "",
"clientConiditions": {
"@id": 123
},
"@id": 0,
"@type": "TICKET"
}
}
],
"deliveryMethod": 0,
"deliveryCosts": 0,
"insurance": {
"@id": 123,
"name": "",
"description": "",
"privacyPolicy": "",
"termsOfUse": "",
"additionalData": ""
},
"visitorGroup": [
{
"@id": 123,
"name": "",
"numAttendants": 0,
"numAccompanists": 0,
"attribute-values": [
{
"attribute-info": {
"id": 0,
"name": "",
"selection": "SINGLE",
"domain-value-info": [
{
"idValue": 10,
"value": "oneboxtm",
"referenceCode": "OB"
}
],
"domain": "EVENT",
"valueType": "DOMAIN_VALUE",
"referenceCode": "Attr"
},
"attribute-value": [
{
"user-input-value": {},
"domain-value": {
"value": "``",
"idValue": 30
}
}
],
"idAttribute": 50,
"description": "DESCRIPTION"
}
]
}
],
"totalPriceBreakdown": {
"base-price": 10,
"automatic-promotion": 0,
"manual-promotion": 0,
"manual-discount": 0,
"client-discount": 0,
"client-comission": 0,
"charges": {
"charge": [
{
"@type": "CHANNEL_CHARGE",
"value 1.5": 0
}
]
},
"delivery-costs": 0,
"insurance": 0,
"taxes": {
"tax": [
{
"@id": 10,
"value": 0
}
]
},
"final-price": 20
},
"platformClient": {
"id": 123,
"name": "",
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
},
"clientB2B": {
"businessName": "",
"description": "",
"iataCode": "",
"taxId": "",
"tags": "",
"clientB2BBranch": {
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
},
"contactName": "",
"contactEmail": "",
"contactPhone": "",
"@main": false
},
"user": {
"@id": 123,
"name": "",
"email": "",
"username": ""
},
"@category": 0
},
"type": "B2B"
},
"@token": "",
"@currency": "",
"@timeleft": 0
}Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"client": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique customer identifier."
},
"name": {
"type": "string"
},
"lastname": {
"type": "string"
},
"$": {
"type": "string"
},
"email": {
"type": "string"
},
"receiptMail": {
"type": "string"
},
"ticketMail": {
"type": "string"
},
"phone": {
"type": "string"
},
"identification": {
"type": "object",
"properties": {
"value": {
"type": "string"
},
"@type": {
"type": "string"
}
},
"required": [
"value",
"@type"
]
},
"gender": {
"type": "string",
"enum": [
"NOT_DEFINED",
"MALE",
"FEMALE"
]
},
"location": {
"type": "object",
"properties": {
"address": {
"type": "string",
"description": "Venue address where the event will be performed."
},
"city": {
"type": "string",
"description": "City where the event will be performed."
},
"postalCode": {
"type": "string",
"description": "Postal code or zip code where the event will be performed."
},
"countrySubdivision": {
"type": "object",
"properties": {
"@code": {
"type": "string",
"description": "Item unique identifier."
},
"$": {
"type": "string",
"description": "Item value string."
}
},
"required": [
"@code",
"$"
],
"description": "`Country subdivision, this shall be the province, state or county. Ie: ES-T - Tarragona.`"
},
"country": {
"type": "object",
"properties": {
"@code": {
"type": "string",
"description": "Item unique identifier."
},
"$": {
"type": "string",
"description": "Item value string."
}
},
"required": [
"@code",
"$"
],
"description": "`Ie: ES - Spain.`"
},
"coordinates": {
"type": "string"
}
},
"required": [
"address",
"city",
"postalCode",
"countrySubdivision",
"country"
]
},
"idCard": {
"type": "string"
},
"docType": {
"type": "number"
},
"profile-data": {
"type": "object",
"properties": {
"@`profile-id`": {
"type": "number",
"description": "Unique profile data identifier."
},
"profile-field": {
"type": "array"
}
},
"required": [
"@`profile-id`"
]
},
"language": {
"type": "object",
"properties": {
"value": {
"type": "string"
},
"@code": {
"type": "string"
}
},
"required": [
"value",
"@code"
]
},
"groupValidation": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@idGroup": {
"type": "number",
"description": "Unique group validation identifier."
},
"user": {
"type": "string"
},
"promotionalCode": {
"type": "string"
},
"externalProperties": {
"type": "object",
"properties": {
"externalId": {
"type": "string"
}
}
}
},
"required": [
"@idGroup",
"user",
"promotionalCode"
]
}
},
"allowCommercialMailing": {
"type": "boolean"
}
},
"required": [
"@id",
"name",
"lastname",
"$",
"gender",
"location"
]
},
"shoppingCartItem": {
"type": "array"
},
"deliveryMethod": {
"type": "number"
},
"deliveryCosts": {
"type": "number"
},
"insurance": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique insurance identifier."
},
"name": {
"type": "string"
},
"description": {
"type": "string"
},
"privacyPolicy": {
"type": "string"
},
"termsOfUse": {
"type": "string"
},
"additionalData": {
"type": "string"
}
},
"required": [
"@id",
"name",
"description",
"privacyPolicy",
"termsOfUse",
"additionalData"
]
},
"visitorGroup": {
"type": "array"
},
"totalPriceBreakdown": {
"type": "object",
"properties": {
"base-price": {
"type": "number"
},
"automatic-promotion": {
"type": "number"
},
"manual-promotion": {
"type": "number"
},
"manual-discount": {
"type": "number"
},
"client-discount": {
"type": "number"
},
"client-comission": {
"type": "number"
},
"charges": {
"type": "object",
"properties": {
"charge": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"enum": [
"CHANNEL_CHARGE",
"PROMOTER_CHARGE",
"PROMOTER_CHANNEL_CHARGE"
]
},
"value 1.5": {
"type": "number",
"description": "Value of the charge."
}
},
"required": [
"value 1.5"
]
}
}
},
"required": [
"charge"
]
},
"delivery-costs": {
"type": "number"
},
"insurance": {
"type": "number"
},
"taxes": {
"type": "object",
"properties": {
"tax": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique product identifier."
},
"value": {
"type": "number"
}
},
"required": [
"@id",
"value"
]
}
}
},
"required": [
"tax"
]
},
"final-price": {
"type": "number"
}
},
"required": [
"base-price",
"final-price"
]
},
"platformClient": {
"type": "object",
"properties": {
"id": {
"type": "number",
"description": "Unique platform client identifier."
},
"name": {
"type": "string"
},
"location": {
"type": "object",
"properties": {
"address": {
"type": "string",
"description": "Venue address where the event will be performed."
},
"city": {
"type": "string",
"description": "City where the event will be performed."
},
"postalCode": {
"type": "string",
"description": "Postal code or zip code where the event will be performed."
},
"countrySubdivision": {
"type": "object",
"properties": {
"@code": {
"type": "string",
"description": "Item unique identifier."
},
"$": {
"type": "string",
"description": "Item value string."
}
},
"required": [
"@code",
"$"
],
"description": "`Country subdivision, this shall be the province, state or county. Ie: ES-T - Tarragona.`"
},
"country": {
"type": "object",
"properties": {
"@code": {
"type": "string",
"description": "Item unique identifier."
},
"$": {
"type": "string",
"description": "Item value string."
}
},
"required": [
"@code",
"$"
],
"description": "`Ie: ES - Spain.`"
},
"coordinates": {
"type": "string"
}
},
"required": [
"address",
"city",
"postalCode",
"countrySubdivision",
"country"
]
},
"clientB2B": {
"type": "object",
"properties": {
"businessName": {
"type": "string"
},
"description": {
"type": "string"
},
"iataCode": {
"type": "string"
},
"taxId": {
"type": "string"
},
"tags": {
"type": "string"
},
"clientB2BBranch": {
"type": "object",
"properties": {
"location": {
"type": "object",
"properties": {
"address": {
"type": "string",
"description": "Venue address where the event will be performed."
},
"city": {
"type": "string",
"description": "City where the event will be performed."
},
"postalCode": {
"type": "string",
"description": "Postal code or zip code where the event will be performed."
},
"countrySubdivision": {
"type": "object",
"properties": {
"@code": {
"type": "string",
"description": "Item unique identifier."
},
"$": {
"type": "string",
"description": "Item value string."
}
},
"required": [
"@code",
"$"
],
"description": "`Country subdivision, this shall be the province, state or county. Ie: ES-T - Tarragona.`"
},
"country": {
"type": "object",
"properties": {
"@code": {
"type": "string",
"description": "Item unique identifier."
},
"$": {
"type": "string",
"description": "Item value string."
}
},
"required": [
"@code",
"$"
],
"description": "`Ie: ES - Spain.`"
},
"coordinates": {
"type": "string"
}
},
"required": [
"address",
"city",
"postalCode",
"countrySubdivision",
"country"
]
},
"contactName": {
"type": "string"
},
"contactEmail": {
"type": "string"
},
"contactPhone": {
"type": "string"
},
"@main": {
"type": "boolean"
}
},
"required": [
"location",
"contactName",
"contactEmail",
"contactPhone",
"@main"
]
},
"user": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique user identifier."
},
"name": {
"type": "string"
},
"email": {
"type": "string"
},
"username": {
"type": "string"
}
},
"required": [
"@id",
"name",
"email",
"username"
]
},
"@category": {
"type": "number"
}
},
"required": [
"businessName",
"description",
"iataCode",
"taxId",
"tags",
"clientB2BBranch",
"user"
]
},
"type": {
"type": "string",
"enum": [
"B2B",
"B2C"
]
}
},
"required": [
"id",
"name"
]
},
"@token": {
"type": "string"
},
"@currency": {
"type": "string"
},
"@timeleft": {
"type": "number"
}
},
"required": [
"client",
"shoppingCartItem",
"visitorGroup",
"totalPriceBreakdown",
"platformClient",
"@token",
"@currency",
"@timeleft"
]
}Headers
Content-Type: application/json;charset=UTF-8Body
{
"error": "Bad request",
"error_description": "There was a syntax error, check your params request and try it again."
}Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"error": {
"type": "string",
"description": "Short http error code description"
},
"error_description": {
"type": "string",
"description": "Detailed description of the error returned."
}
},
"required": [
"error",
"error_description"
]
}Headers
Content-Type: application/json;charset=UTF-8Body
{
"error": "Unauthorized",
"error_description": "Full authentication is required to access this resource"
}Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"error": {
"type": "string",
"description": "Short http error code description."
},
"error_description": {
"type": "string",
"description": "Detailed description of the error returned."
}
},
"required": [
"error",
"error_description"
]
}Headers
Content-Type: application/json;charset=UTF-8Body
{
"statusCode": 1010,
"responseTime": "08-03-2017 13:46:03.657"
}Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"statusCode": {
"type": "number",
"description": "This is the Onebox error codes. Get the full list here: [go to Onebox error responses](http://developer.oneboxtickets.com/httpresponsecodes.html)"
},
"responseTime": {
"type": "string"
}
},
"required": [
"statusCode",
"responseTime"
]
}Add numbered seatsPOST/shoppingCart/addSeats{?seatsList,token,totalCharges}
Use this service to add the desired seats to the shopping cart. The already added seats will be no longer available for any other buyer until those will be released, or the shopping cart expires. It’s necessary to call session/{sessionId}/seatMap/view/{viewId} and session/{sessionId}/seatStatus/{viewId} previosly in order to obtain the seats ids and statuses. XML Response
- seatsList
array[SeatType](required) Example: seats-list- token
string(required) Example: 188a5cf2a844e684375172cb1cf2bbf3- totalCharges
number(optional) Example: 120
Add Best Seats ¶
Headers
Authorization: Bearer [ACCESS_TOKEN]
Content-Type: application/json
Accept: application/json+ Headers
traceID: `String: Unique id to identify the transaction within the Onebox API audit system`
OB_Error_Code: `Number: This is the Onebox error codes. Get the full list here: [go to Onebox error responses](http://developer.oneboxtickets.com/httpresponsecodes.html)`
Headers
Content-Type: application/json;charset=UTF-8Body
{
"client": {
"@id": 123,
"name": "First name",
"lastname": "Last name",
"$": "1970-01-01",
"email": "email@domain.com",
"receiptMail": "email@domain.com",
"ticketMail": "email@domain.com",
"phone": "0034 555 55 55",
"identification": {
"value": "",
"@type": ""
},
"gender": "NOT_DEFINED",
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
},
"profile-data": {
"@`profile-id`": 123,
"profile-field": [
{
"@`field-id`": 123,
"idValue": [],
"user-input-value": []
}
]
},
"language": {
"value": "",
"@code": ""
},
"groupValidation": [
{
"@idGroup": 123,
"user": "",
"promotionalCode": "",
"externalProperties": {}
}
]
},
"shoppingCartItem": [
{
"shopping-cart-item": {
"ticket-data": {},
"product-data": {
"venue": {
"@id": 432432,
"@name": "World Park",
"@timeZone": "Europe/Berlin",
"communication-elements": {
"@language": "en_US",
"images": [
{
"@type": "LOGO_WEB",
"@order": 1,
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"videos": [
{
"@type": "VIDEO",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"files": [
{
"@type": "FILE",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"banners": [
{
"@type": "CHANNEL_PURCHASE_HEADER_BANNER",
"imageUrl": "https://s3.amazonaws.com/onebox-repository/pro/1/1/itemIdioma/1741/1_image_1340695930723.jpg",
"linkUrl": "http://www.website.com/channel_id"
}
]
},
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
}
},
"product-info": {
"@id": 10,
"internalName": "",
"name": "",
"dates": {
"datetime": [
{
"@type": "EVENT_BEGIN",
"@pendingConfirmation": false,
"@timeZoneId": "Europe/Berlin",
"$": "2018-01-07T19:00:00.000+01:00"
}
]
},
"venue": {
"@id": 432432,
"@name": "World Park",
"@timeZone": "Europe/Berlin",
"communication-elements": {
"@language": "en_US",
"images": [
{
"@type": "LOGO_WEB",
"@order": 1,
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"videos": [
{
"@type": "VIDEO",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"files": [
{
"@type": "FILE",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"banners": [
{
"@type": "CHANNEL_PURCHASE_HEADER_BANNER",
"imageUrl": "https://s3.amazonaws.com/onebox-repository/pro/1/1/itemIdioma/1741/1_image_1340695930723.jpg",
"linkUrl": "http://www.website.com/channel_id"
}
]
},
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
}
},
"catalog-info": {
"entityId": 0,
"name": ""
},
"attributes": {
"attribute": [
{
"@id": 10,
"name": ""
}
]
},
"product-image": [],
"forSale": false,
"bookable": false,
"product-variant": [
{
"id": 10,
"sku": "",
"price-breakdown": {
"base-price": 10,
"automatic-promotion": 0,
"manual-promotion": 0,
"manual-discount": 0,
"client-discount": 0,
"client-comission": 0,
"charges": {
"charge": [
{
"@type": "CHANNEL_CHARGE",
"value 1.5": 0
}
]
},
"delivery-costs": 0,
"insurance": 0,
"taxes": {
"tax": [
{
"@id": 10,
"value": 0
}
]
},
"final-price": 20
},
"limited-stock": false,
"variant-availability": 0,
"variant-attributes": {
"variant-attribute": [
{
"attribute": {
"@id": 10,
"name": ""
},
"value": ""
}
]
},
"venue": {
"@id": 432432,
"@name": "World Park",
"@timeZone": "Europe/Berlin",
"communication-elements": {
"@language": "en_US",
"images": [
{
"@type": "LOGO_WEB",
"@order": 1,
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"videos": [
{
"@type": "VIDEO",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"files": [
{
"@type": "FILE",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"banners": [
{
"@type": "CHANNEL_PURCHASE_HEADER_BANNER",
"imageUrl": "https://s3.amazonaws.com/onebox-repository/pro/1/1/itemIdioma/1741/1_image_1340695930723.jpg",
"linkUrl": "http://www.website.com/channel_id"
}
]
},
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
}
},
"catalog-info": {
"entityId": 0,
"name": ""
},
"product-info": {
"@id": 10,
"internalName": "",
"name": "",
"dates": {
"datetime": [
{
"@type": "EVENT_BEGIN",
"@pendingConfirmation": false,
"@timeZoneId": "Europe/Berlin",
"$": "2018-01-07T19:00:00.000+01:00"
}
]
},
"venue": {
"@id": 432432,
"@name": "World Park",
"@timeZone": "Europe/Berlin",
"communication-elements": {
"@language": "en_US",
"images": [
{
"@type": "LOGO_WEB",
"@order": 1,
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"videos": [
{
"@type": "VIDEO",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"files": [
{
"@type": "FILE",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"banners": [
{
"@type": "CHANNEL_PURCHASE_HEADER_BANNER",
"imageUrl": "https://s3.amazonaws.com/onebox-repository/pro/1/1/itemIdioma/1741/1_image_1340695930723.jpg",
"linkUrl": "http://www.website.com/channel_id"
}
]
},
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
}
},
"catalog-info": {
"entityId": 0,
"name": ""
},
"attributes": {
"attribute": [
{
"@id": 10,
"name": ""
}
]
},
"product-image": [],
"forSale": false,
"bookable": false,
"product-variant": []
}
}
]
},
"variant-attributes": {
"variant-attribute": [
{
"attribute": {
"@id": 10,
"name": ""
},
"value": ""
}
]
},
"printouts": 0,
"cancellations": 0,
"status": "PURCHASED",
"sku": "",
"customer": {
"@id": 123,
"name": "First name",
"lastname": "Last name",
"$": "1970-01-01",
"email": "email@domain.com",
"receiptMail": "email@domain.com",
"ticketMail": "email@domain.com",
"phone": "0034 555 55 55",
"identification": {
"value": "",
"@type": ""
},
"gender": "NOT_DEFINED",
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
},
"profile-data": {
"@`profile-id`": 123,
"profile-field": [
{
"@`field-id`": 123,
"idValue": [],
"user-input-value": []
}
]
},
"language": {
"value": "",
"@code": ""
},
"groupValidation": [
{
"@idGroup": 123,
"user": "",
"promotionalCode": "",
"externalProperties": {}
}
]
},
"session-basic-info": {
"@id": 5553432,
"internalName": "7 days 1 park",
"name": "7 days 1 park",
"description": "<P ALIGN=\\\"LEFT\\\">Six amazing worlds in just one Park, perfect for having fun in family and frends as well.</P>",
"dates": {
"datetime": [
{
"@type": "EVENT_BEGIN",
"@pendingConfirmation": false,
"@timeZoneId": "Europe/Berlin",
"$": "2018-01-07T19:00:00.000+01:00"
}
]
},
"venue": {
"@id": 432432,
"@name": "World Park",
"@timeZone": "Europe/Berlin",
"communication-elements": {
"@language": "en_US",
"images": [
{
"@type": "LOGO_WEB",
"@order": 1,
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"videos": [
{
"@type": "VIDEO",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"files": [
{
"@type": "FILE",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"banners": [
{
"@type": "CHANNEL_PURCHASE_HEADER_BANNER",
"imageUrl": "https://s3.amazonaws.com/onebox-repository/pro/1/1/itemIdioma/1741/1_image_1340695930723.jpg",
"linkUrl": "http://www.website.com/channel_id"
}
]
},
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
}
},
"space": {
"id": 150,
"name": "SPACE"
},
"event-basic-info": {
"@id": 23454,
"internalName": "7 days 1 park",
"externalReferenceCode": "EXT-123",
"title": "Theme Park",
"subtitle": "¡Discover the 6 worlds adrenaline!",
"shortDescription": "<P ALIGN=\\\"LEFT\\\">Six amazing worlds in just one Park, perfect for having fun in family and frends as well.</P>",
"longDescription": "<P ALIGN=\\\"LEFT\\\">Explore a whole world of fun and know our amazing theme parks. An ideal destination for a family getaway, located in one of the best tourist areas of Spain and just an hour from Barcelona! </ P> <BR/> <P ALIGN = \\ \"LEFT \\\"> The best entertainment, relaxation, gastronomy and shopping you can imagine. > A DESTINY AND SIX WORLDS TO DISCOVER </ P> <P ALIGN = \\ \"LEFT \\\"> Here begins a journey that takes you much further than you can imagine. At the Park we look forward to six fascinating worlds completely different, with a careful decoration to the last detail, so that you enjoy to the maximum. Emotions for all tastes. Families, friends, big and small: in our theme park, all the fun.</P>",
"additionalEventData": "",
"duration": "",
"communication-elements": {
"@language": "en_US",
"images": [
{
"@type": "LOGO_WEB",
"@order": 1,
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"videos": [
{
"@type": "VIDEO",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"files": [
{
"@type": "FILE",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"banners": [
{
"@type": "CHANNEL_PURCHASE_HEADER_BANNER",
"imageUrl": "https://s3.amazonaws.com/onebox-repository/pro/1/1/itemIdioma/1741/1_image_1340695930723.jpg",
"linkUrl": "http://www.website.com/channel_id"
}
]
},
"taxonomy": {
"@id": 68,
"code": "APRTEM",
"description": "Theme Parks",
"superior-taxonomy": {
"@id": 68,
"code": "APRTEM",
"description": "Theme Parks"
}
},
"custom-taxonomy": {
"@id": 68,
"code": "APRTEM",
"description": "Theme Parks"
},
"promoter-custom-taxonomy": {
"@id": 68,
"code": "APRTEM",
"description": "Theme Parks"
},
"languages": {
"language": [
"",
"ca_ES"
]
},
"dates": {
"datetime": [
{
"@type": "EVENT_BEGIN",
"@pendingConfirmation": false,
"@timeZoneId": "Europe/Berlin",
"$": "2018-01-07T19:00:00.000+01:00"
}
]
},
"entidad": {
"@id": 123,
"name": "Theme Park",
"nif": "A54343234",
"email": "info@theme.park",
"phoneNumber": "0034 555 55 55",
"timeZone": "Europe/Madrid",
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
}
},
"promotor": {
"@id": 475,
"corporateName": "Theme Park Entertainment SA.",
"fiscalCode": "A53776307",
"email": "info@theme.park",
"phoneNumber": "0034 555 55 55",
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
}
},
"tour": {
"@id": 475,
"name": "Theme Park",
"promotorReference": "Theme Park Entertainment SA."
},
"severalVenues": false,
"severalLocations": false,
"supraEvent": false,
"giftTicket": false,
"nominal": false,
"eventType": "EVENT",
"attribute-values": [
{
"attribute-info": {
"id": 0,
"name": "",
"selection": "SINGLE",
"domain-value-info": [
{
"idValue": 10,
"value": "oneboxtm",
"referenceCode": "OB"
}
],
"domain": "EVENT",
"valueType": "DOMAIN_VALUE",
"referenceCode": "Attr"
},
"attribute-value": [
{
"user-input-value": {},
"domain-value": {
"value": "``",
"idValue": 30
}
}
],
"idAttribute": 50,
"description": "DESCRIPTION"
}
],
"passbookPreferences": {
"communication-elements": {
"@language": "en_US",
"images": [
{
"@type": "LOGO_WEB",
"@order": 1,
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"videos": [
{
"@type": "VIDEO",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"files": [
{
"@type": "FILE",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"banners": [
{
"@type": "CHANNEL_PURCHASE_HEADER_BANNER",
"imageUrl": "https://s3.amazonaws.com/onebox-repository/pro/1/1/itemIdioma/1741/1_image_1340695930723.jpg",
"linkUrl": "http://www.website.com/channel_id"
}
]
}
},
"clientEventDiscount": {
"discountType": "AMOUNT"
}
},
"forSale": true,
"blockingReasons": "",
"hasProducts": false,
"admission": "ALL_AGES_ADMITTED",
"supportedEventType": "EVENT",
"supportedVisitorType": "INDIVIDUAL",
"attribute-values": [
{
"attribute-info": {
"id": 0,
"name": "",
"selection": "SINGLE",
"domain-value-info": [
{
"idValue": 10,
"value": "oneboxtm",
"referenceCode": "OB"
}
],
"domain": "EVENT",
"valueType": "DOMAIN_VALUE",
"referenceCode": "Attr"
},
"attribute-value": [
{
"user-input-value": {},
"domain-value": {
"value": "``",
"idValue": 30
}
}
],
"idAttribute": 50,
"description": "DESCRIPTION"
}
],
"visitorGroupConfig": "",
"hideSessionDates": false,
"showDate": false,
"showDatetime": false,
"@rates": "7 days 1 park UK/PAP17",
"season-session-info": {
"beginDate": "2015-09-01T12:00:00+01:00",
"endDate": "2015-10-01T12:00:00+01:00",
"idsSeasonSessions": [],
"seasonSessions": {
"@id": 5553432,
"internalName": "7 days 1 park",
"name": "7 days 1 park",
"description": "<P ALIGN=\\\"LEFT\\\">Six amazing worlds in just one Park, perfect for having fun in family and frends as well.</P>",
"dates": {
"datetime": [
{
"@type": "EVENT_BEGIN",
"@pendingConfirmation": false,
"@timeZoneId": "Europe/Berlin",
"$": "2018-01-07T19:00:00.000+01:00"
}
]
},
"venue": {
"@id": 432432,
"@name": "World Park",
"@timeZone": "Europe/Berlin",
"communication-elements": {
"@language": "en_US",
"images": [
{
"@type": "LOGO_WEB",
"@order": 1,
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"videos": [
{
"@type": "VIDEO",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"files": [
{
"@type": "FILE",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"banners": [
{
"@type": "CHANNEL_PURCHASE_HEADER_BANNER",
"imageUrl": "https://s3.amazonaws.com/onebox-repository/pro/1/1/itemIdioma/1741/1_image_1340695930723.jpg",
"linkUrl": "http://www.website.com/channel_id"
}
]
},
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
}
},
"space": {
"id": 150,
"name": "SPACE"
},
"event-basic-info": {
"@id": 23454,
"internalName": "7 days 1 park",
"externalReferenceCode": "EXT-123",
"title": "Theme Park",
"subtitle": "¡Discover the 6 worlds adrenaline!",
"shortDescription": "<P ALIGN=\\\"LEFT\\\">Six amazing worlds in just one Park, perfect for having fun in family and frends as well.</P>",
"longDescription": "<P ALIGN=\\\"LEFT\\\">Explore a whole world of fun and know our amazing theme parks. An ideal destination for a family getaway, located in one of the best tourist areas of Spain and just an hour from Barcelona! </ P> <BR/> <P ALIGN = \\ \"LEFT \\\"> The best entertainment, relaxation, gastronomy and shopping you can imagine. > A DESTINY AND SIX WORLDS TO DISCOVER </ P> <P ALIGN = \\ \"LEFT \\\"> Here begins a journey that takes you much further than you can imagine. At the Park we look forward to six fascinating worlds completely different, with a careful decoration to the last detail, so that you enjoy to the maximum. Emotions for all tastes. Families, friends, big and small: in our theme park, all the fun.</P>",
"additionalEventData": "",
"duration": "",
"communication-elements": {
"@language": "en_US",
"images": [
{
"@type": "LOGO_WEB",
"@order": 1,
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"videos": [
{
"@type": "VIDEO",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"files": [
{
"@type": "FILE",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"banners": [
{
"@type": "CHANNEL_PURCHASE_HEADER_BANNER",
"imageUrl": "https://s3.amazonaws.com/onebox-repository/pro/1/1/itemIdioma/1741/1_image_1340695930723.jpg",
"linkUrl": "http://www.website.com/channel_id"
}
]
},
"taxonomy": {
"@id": 68,
"code": "APRTEM",
"description": "Theme Parks",
"superior-taxonomy": {
"@id": 68,
"code": "APRTEM",
"description": "Theme Parks"
}
},
"custom-taxonomy": {
"@id": 68,
"code": "APRTEM",
"description": "Theme Parks"
},
"promoter-custom-taxonomy": {
"@id": 68,
"code": "APRTEM",
"description": "Theme Parks"
},
"languages": {
"language": [
"",
"ca_ES"
]
},
"dates": {
"datetime": [
{
"@type": "EVENT_BEGIN",
"@pendingConfirmation": false,
"@timeZoneId": "Europe/Berlin",
"$": "2018-01-07T19:00:00.000+01:00"
}
]
},
"entidad": {
"@id": 123,
"name": "Theme Park",
"nif": "A54343234",
"email": "info@theme.park",
"phoneNumber": "0034 555 55 55",
"timeZone": "Europe/Madrid",
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
}
},
"promotor": {
"@id": 475,
"corporateName": "Theme Park Entertainment SA.",
"fiscalCode": "A53776307",
"email": "info@theme.park",
"phoneNumber": "0034 555 55 55",
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
}
},
"tour": {
"@id": 475,
"name": "Theme Park",
"promotorReference": "Theme Park Entertainment SA."
},
"severalVenues": false,
"severalLocations": false,
"supraEvent": false,
"giftTicket": false,
"nominal": false,
"eventType": "EVENT",
"attribute-values": [
{
"attribute-info": {
"id": 0,
"name": "",
"selection": "SINGLE",
"domain-value-info": [
{
"idValue": 10,
"value": "oneboxtm",
"referenceCode": "OB"
}
],
"domain": "EVENT",
"valueType": "DOMAIN_VALUE",
"referenceCode": "Attr"
},
"attribute-value": [
{
"user-input-value": {},
"domain-value": {
"value": "``",
"idValue": 30
}
}
],
"idAttribute": 50,
"description": "DESCRIPTION"
}
],
"passbookPreferences": {
"communication-elements": {
"@language": "en_US",
"images": [
{
"@type": "LOGO_WEB",
"@order": 1,
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"videos": [
{
"@type": "VIDEO",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"files": [
{
"@type": "FILE",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"banners": [
{
"@type": "CHANNEL_PURCHASE_HEADER_BANNER",
"imageUrl": "https://s3.amazonaws.com/onebox-repository/pro/1/1/itemIdioma/1741/1_image_1340695930723.jpg",
"linkUrl": "http://www.website.com/channel_id"
}
]
}
},
"clientEventDiscount": {
"discountType": "AMOUNT"
}
},
"forSale": true,
"blockingReasons": "",
"hasProducts": false,
"admission": "ALL_AGES_ADMITTED",
"supportedEventType": "EVENT",
"supportedVisitorType": "INDIVIDUAL",
"attribute-values": [
{
"attribute-info": {
"id": 0,
"name": "",
"selection": "SINGLE",
"domain-value-info": [
{
"idValue": 10,
"value": "oneboxtm",
"referenceCode": "OB"
}
],
"domain": "EVENT",
"valueType": "DOMAIN_VALUE",
"referenceCode": "Attr"
},
"attribute-value": [
{
"user-input-value": {},
"domain-value": {
"value": "``",
"idValue": 30
}
}
],
"idAttribute": 50,
"description": "DESCRIPTION"
}
],
"visitorGroupConfig": "",
"hideSessionDates": false,
"showDate": false,
"showDatetime": false,
"@rates": "7 days 1 park UK/PAP17",
"season-session-info": {}
},
"@isSeasonSession": 0
}
},
"event-basic-info": {
"@id": 23454,
"internalName": "7 days 1 park",
"externalReferenceCode": "EXT-123",
"title": "Theme Park",
"subtitle": "¡Discover the 6 worlds adrenaline!",
"shortDescription": "<P ALIGN=\\\"LEFT\\\">Six amazing worlds in just one Park, perfect for having fun in family and frends as well.</P>",
"longDescription": "<P ALIGN=\\\"LEFT\\\">Explore a whole world of fun and know our amazing theme parks. An ideal destination for a family getaway, located in one of the best tourist areas of Spain and just an hour from Barcelona! </ P> <BR/> <P ALIGN = \\ \"LEFT \\\"> The best entertainment, relaxation, gastronomy and shopping you can imagine. > A DESTINY AND SIX WORLDS TO DISCOVER </ P> <P ALIGN = \\ \"LEFT \\\"> Here begins a journey that takes you much further than you can imagine. At the Park we look forward to six fascinating worlds completely different, with a careful decoration to the last detail, so that you enjoy to the maximum. Emotions for all tastes. Families, friends, big and small: in our theme park, all the fun.</P>",
"additionalEventData": "",
"duration": "",
"communication-elements": {
"@language": "en_US",
"images": [
{
"@type": "LOGO_WEB",
"@order": 1,
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"videos": [
{
"@type": "VIDEO",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"files": [
{
"@type": "FILE",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"banners": [
{
"@type": "CHANNEL_PURCHASE_HEADER_BANNER",
"imageUrl": "https://s3.amazonaws.com/onebox-repository/pro/1/1/itemIdioma/1741/1_image_1340695930723.jpg",
"linkUrl": "http://www.website.com/channel_id"
}
]
},
"taxonomy": {
"@id": 68,
"code": "APRTEM",
"description": "Theme Parks",
"superior-taxonomy": {
"@id": 68,
"code": "APRTEM",
"description": "Theme Parks"
}
},
"custom-taxonomy": {
"@id": 68,
"code": "APRTEM",
"description": "Theme Parks"
},
"promoter-custom-taxonomy": {
"@id": 68,
"code": "APRTEM",
"description": "Theme Parks"
},
"languages": {
"language": [
"",
"ca_ES"
]
},
"dates": {
"datetime": [
{
"@type": "EVENT_BEGIN",
"@pendingConfirmation": false,
"@timeZoneId": "Europe/Berlin",
"$": "2018-01-07T19:00:00.000+01:00"
}
]
},
"entidad": {
"@id": 123,
"name": "Theme Park",
"nif": "A54343234",
"email": "info@theme.park",
"phoneNumber": "0034 555 55 55",
"timeZone": "Europe/Madrid",
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
}
},
"promotor": {
"@id": 475,
"corporateName": "Theme Park Entertainment SA.",
"fiscalCode": "A53776307",
"email": "info@theme.park",
"phoneNumber": "0034 555 55 55",
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
}
},
"tour": {
"@id": 475,
"name": "Theme Park",
"promotorReference": "Theme Park Entertainment SA."
},
"severalVenues": false,
"severalLocations": false,
"supraEvent": false,
"giftTicket": false,
"nominal": false,
"eventType": "EVENT",
"attribute-values": [
{
"attribute-info": {
"id": 0,
"name": "",
"selection": "SINGLE",
"domain-value-info": [
{
"idValue": 10,
"value": "oneboxtm",
"referenceCode": "OB"
}
],
"domain": "EVENT",
"valueType": "DOMAIN_VALUE",
"referenceCode": "Attr"
},
"attribute-value": [
{
"user-input-value": {},
"domain-value": {
"value": "``",
"idValue": 30
}
}
],
"idAttribute": 50,
"description": "DESCRIPTION"
}
],
"passbookPreferences": {
"communication-elements": {
"@language": "en_US",
"images": [
{
"@type": "LOGO_WEB",
"@order": 1,
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"videos": [
{
"@type": "VIDEO",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"files": [
{
"@type": "FILE",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"banners": [
{
"@type": "CHANNEL_PURCHASE_HEADER_BANNER",
"imageUrl": "https://s3.amazonaws.com/onebox-repository/pro/1/1/itemIdioma/1741/1_image_1340695930723.jpg",
"linkUrl": "http://www.website.com/channel_id"
}
]
}
},
"clientEventDiscount": {
"discountType": "AMOUNT"
}
},
"automatic": "",
"promotion": {
"@id": 10,
"activator": "",
"promotionComElements": {
"name": "NAME",
"description": "DESCRIPTION"
}
},
"discount": {
"@id": 10,
"activator": "",
"promotionComElements": {
"name": "NAME",
"description": "DESCRIPTION"
}
},
"productAcquisitionType": "GENERAL"
},
"automatic-protmotion": {
"@id": 30,
"promotionComElements": {
"name": "NAME",
"description": "DESCRIPTION"
},
"type": "PERCENTAGE",
"value": 10,
"priceZonesIds": {
"priceZonesId": [
10,
12,
15
]
},
"group": {
"i@d": 30,
"name": "NAME",
"validationType": "CHANNEL",
"validationMethod": "PROMOTIONAL_CODE"
},
"limitedUses": false
},
"promotion": {
"@id": 30,
"promotionComElements": {
"name": "NAME",
"description": "DESCRIPTION"
},
"type": "PERCENTAGE",
"value": 10,
"priceZonesIds": {
"priceZonesId": [
10,
12,
15
]
},
"group": {
"i@d": 30,
"name": "NAME",
"validationType": "CHANNEL",
"validationMethod": "PROMOTIONAL_CODE"
},
"restrictions": {
"packItems": 0,
"maxItems": 0,
"minItems": 0
},
"mandatory": false,
"self-managed": false,
"limitedUses": false,
"dates": {
"datetime": [
{
"@type": "EVENT_BEGIN",
"@pendingConfirmation": false,
"@timeZoneId": "Europe/Berlin",
"$": "2018-01-07T19:00:00.000+01:00"
}
]
}
},
"promotionActivator": "",
"productId": 0,
"discount": {
"@id": 30,
"promotionComElements": {
"name": "NAME",
"description": "DESCRIPTION"
},
"type": "PERCENTAGE",
"value": 10,
"priceZonesIds": {
"priceZonesId": [
10,
12,
15
]
},
"group": {
"i@d": 30,
"name": "NAME",
"validationType": "CHANNEL",
"validationMethod": "PROMOTIONAL_CODE"
},
"restrictions": {
"packItems": 0,
"maxItems": 0,
"minItems": 0
},
"mandatory": false,
"self-managed": false,
"limitedUses": false,
"dates": {
"datetime": [
{
"@type": "EVENT_BEGIN",
"@pendingConfirmation": false,
"@timeZoneId": "Europe/Berlin",
"$": "2018-01-07T19:00:00.000+01:00"
}
]
}
},
"discountActivator'": "",
"price": "",
"operationsAllowed": {
"printInvoice": false
},
"attendant": {
"field": [
{
"@name": "",
"@value": ""
}
],
"clientDiscount": {
"@value": 0,
"type": "PERCENT"
},
"clientCommission": {
"@value": 0,
"type": "PERCENT"
}
},
"itemWarning": [
"",
"SESSION_NON_CONSECUTIVE_SEAT"
],
"modifyingBookingOrderCode": "",
"clientConiditions": {
"@id": 123
},
"@id": 0,
"@type": "TICKET"
}
}
],
"deliveryMethod": 0,
"deliveryCosts": 0,
"insurance": {
"@id": 123,
"name": "",
"description": "",
"privacyPolicy": "",
"termsOfUse": "",
"additionalData": ""
},
"visitorGroup": [
{
"@id": 123,
"name": "",
"numAttendants": 0,
"numAccompanists": 0,
"attribute-values": [
{
"attribute-info": {
"id": 0,
"name": "",
"selection": "SINGLE",
"domain-value-info": [
{
"idValue": 10,
"value": "oneboxtm",
"referenceCode": "OB"
}
],
"domain": "EVENT",
"valueType": "DOMAIN_VALUE",
"referenceCode": "Attr"
},
"attribute-value": [
{
"user-input-value": {},
"domain-value": {
"value": "``",
"idValue": 30
}
}
],
"idAttribute": 50,
"description": "DESCRIPTION"
}
]
}
],
"totalPriceBreakdown": {
"base-price": 10,
"automatic-promotion": 0,
"manual-promotion": 0,
"manual-discount": 0,
"client-discount": 0,
"client-comission": 0,
"charges": {
"charge": [
{
"@type": "CHANNEL_CHARGE",
"value 1.5": 0
}
]
},
"delivery-costs": 0,
"insurance": 0,
"taxes": {
"tax": [
{
"@id": 10,
"value": 0
}
]
},
"final-price": 20
},
"platformClient": {
"id": 123,
"name": "",
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
},
"clientB2B": {
"businessName": "",
"description": "",
"iataCode": "",
"taxId": "",
"tags": "",
"clientB2BBranch": {
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
},
"contactName": "",
"contactEmail": "",
"contactPhone": "",
"@main": false
},
"user": {
"@id": 123,
"name": "",
"email": "",
"username": ""
},
"@category": 0
},
"type": "B2B"
},
"@token": "",
"@currency": "",
"@timeleft": 0
}Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"client": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique customer identifier."
},
"name": {
"type": "string"
},
"lastname": {
"type": "string"
},
"$": {
"type": "string"
},
"email": {
"type": "string"
},
"receiptMail": {
"type": "string"
},
"ticketMail": {
"type": "string"
},
"phone": {
"type": "string"
},
"identification": {
"type": "object",
"properties": {
"value": {
"type": "string"
},
"@type": {
"type": "string"
}
},
"required": [
"value",
"@type"
]
},
"gender": {
"type": "string",
"enum": [
"NOT_DEFINED",
"MALE",
"FEMALE"
]
},
"location": {
"type": "object",
"properties": {
"address": {
"type": "string",
"description": "Venue address where the event will be performed."
},
"city": {
"type": "string",
"description": "City where the event will be performed."
},
"postalCode": {
"type": "string",
"description": "Postal code or zip code where the event will be performed."
},
"countrySubdivision": {
"type": "object",
"properties": {
"@code": {
"type": "string",
"description": "Item unique identifier."
},
"$": {
"type": "string",
"description": "Item value string."
}
},
"required": [
"@code",
"$"
],
"description": "`Country subdivision, this shall be the province, state or county. Ie: ES-T - Tarragona.`"
},
"country": {
"type": "object",
"properties": {
"@code": {
"type": "string",
"description": "Item unique identifier."
},
"$": {
"type": "string",
"description": "Item value string."
}
},
"required": [
"@code",
"$"
],
"description": "`Ie: ES - Spain.`"
},
"coordinates": {
"type": "string"
}
},
"required": [
"address",
"city",
"postalCode",
"countrySubdivision",
"country"
]
},
"idCard": {
"type": "string"
},
"docType": {
"type": "number"
},
"profile-data": {
"type": "object",
"properties": {
"@`profile-id`": {
"type": "number",
"description": "Unique profile data identifier."
},
"profile-field": {
"type": "array"
}
},
"required": [
"@`profile-id`"
]
},
"language": {
"type": "object",
"properties": {
"value": {
"type": "string"
},
"@code": {
"type": "string"
}
},
"required": [
"value",
"@code"
]
},
"groupValidation": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@idGroup": {
"type": "number",
"description": "Unique group validation identifier."
},
"user": {
"type": "string"
},
"promotionalCode": {
"type": "string"
},
"externalProperties": {
"type": "object",
"properties": {
"externalId": {
"type": "string"
}
}
}
},
"required": [
"@idGroup",
"user",
"promotionalCode"
]
}
},
"allowCommercialMailing": {
"type": "boolean"
}
},
"required": [
"@id",
"name",
"lastname",
"$",
"gender",
"location"
]
},
"shoppingCartItem": {
"type": "array"
},
"deliveryMethod": {
"type": "number"
},
"deliveryCosts": {
"type": "number"
},
"insurance": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique insurance identifier."
},
"name": {
"type": "string"
},
"description": {
"type": "string"
},
"privacyPolicy": {
"type": "string"
},
"termsOfUse": {
"type": "string"
},
"additionalData": {
"type": "string"
}
},
"required": [
"@id",
"name",
"description",
"privacyPolicy",
"termsOfUse",
"additionalData"
]
},
"visitorGroup": {
"type": "array"
},
"totalPriceBreakdown": {
"type": "object",
"properties": {
"base-price": {
"type": "number"
},
"automatic-promotion": {
"type": "number"
},
"manual-promotion": {
"type": "number"
},
"manual-discount": {
"type": "number"
},
"client-discount": {
"type": "number"
},
"client-comission": {
"type": "number"
},
"charges": {
"type": "object",
"properties": {
"charge": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"enum": [
"CHANNEL_CHARGE",
"PROMOTER_CHARGE",
"PROMOTER_CHANNEL_CHARGE"
]
},
"value 1.5": {
"type": "number",
"description": "Value of the charge."
}
},
"required": [
"value 1.5"
]
}
}
},
"required": [
"charge"
]
},
"delivery-costs": {
"type": "number"
},
"insurance": {
"type": "number"
},
"taxes": {
"type": "object",
"properties": {
"tax": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique product identifier."
},
"value": {
"type": "number"
}
},
"required": [
"@id",
"value"
]
}
}
},
"required": [
"tax"
]
},
"final-price": {
"type": "number"
}
},
"required": [
"base-price",
"final-price"
]
},
"platformClient": {
"type": "object",
"properties": {
"id": {
"type": "number",
"description": "Unique platform client identifier."
},
"name": {
"type": "string"
},
"location": {
"type": "object",
"properties": {
"address": {
"type": "string",
"description": "Venue address where the event will be performed."
},
"city": {
"type": "string",
"description": "City where the event will be performed."
},
"postalCode": {
"type": "string",
"description": "Postal code or zip code where the event will be performed."
},
"countrySubdivision": {
"type": "object",
"properties": {
"@code": {
"type": "string",
"description": "Item unique identifier."
},
"$": {
"type": "string",
"description": "Item value string."
}
},
"required": [
"@code",
"$"
],
"description": "`Country subdivision, this shall be the province, state or county. Ie: ES-T - Tarragona.`"
},
"country": {
"type": "object",
"properties": {
"@code": {
"type": "string",
"description": "Item unique identifier."
},
"$": {
"type": "string",
"description": "Item value string."
}
},
"required": [
"@code",
"$"
],
"description": "`Ie: ES - Spain.`"
},
"coordinates": {
"type": "string"
}
},
"required": [
"address",
"city",
"postalCode",
"countrySubdivision",
"country"
]
},
"clientB2B": {
"type": "object",
"properties": {
"businessName": {
"type": "string"
},
"description": {
"type": "string"
},
"iataCode": {
"type": "string"
},
"taxId": {
"type": "string"
},
"tags": {
"type": "string"
},
"clientB2BBranch": {
"type": "object",
"properties": {
"location": {
"type": "object",
"properties": {
"address": {
"type": "string",
"description": "Venue address where the event will be performed."
},
"city": {
"type": "string",
"description": "City where the event will be performed."
},
"postalCode": {
"type": "string",
"description": "Postal code or zip code where the event will be performed."
},
"countrySubdivision": {
"type": "object",
"properties": {
"@code": {
"type": "string",
"description": "Item unique identifier."
},
"$": {
"type": "string",
"description": "Item value string."
}
},
"required": [
"@code",
"$"
],
"description": "`Country subdivision, this shall be the province, state or county. Ie: ES-T - Tarragona.`"
},
"country": {
"type": "object",
"properties": {
"@code": {
"type": "string",
"description": "Item unique identifier."
},
"$": {
"type": "string",
"description": "Item value string."
}
},
"required": [
"@code",
"$"
],
"description": "`Ie: ES - Spain.`"
},
"coordinates": {
"type": "string"
}
},
"required": [
"address",
"city",
"postalCode",
"countrySubdivision",
"country"
]
},
"contactName": {
"type": "string"
},
"contactEmail": {
"type": "string"
},
"contactPhone": {
"type": "string"
},
"@main": {
"type": "boolean"
}
},
"required": [
"location",
"contactName",
"contactEmail",
"contactPhone",
"@main"
]
},
"user": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique user identifier."
},
"name": {
"type": "string"
},
"email": {
"type": "string"
},
"username": {
"type": "string"
}
},
"required": [
"@id",
"name",
"email",
"username"
]
},
"@category": {
"type": "number"
}
},
"required": [
"businessName",
"description",
"iataCode",
"taxId",
"tags",
"clientB2BBranch",
"user"
]
},
"type": {
"type": "string",
"enum": [
"B2B",
"B2C"
]
}
},
"required": [
"id",
"name"
]
},
"@token": {
"type": "string"
},
"@currency": {
"type": "string"
},
"@timeleft": {
"type": "number"
}
},
"required": [
"client",
"shoppingCartItem",
"visitorGroup",
"totalPriceBreakdown",
"platformClient",
"@token",
"@currency",
"@timeleft"
]
}Headers
Content-Type: application/json;charset=UTF-8Body
{
"error": "Bad request",
"error_description": "There was a syntax error, check your params request and try it again."
}Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"error": {
"type": "string",
"description": "Short http error code description"
},
"error_description": {
"type": "string",
"description": "Detailed description of the error returned."
}
},
"required": [
"error",
"error_description"
]
}Headers
Content-Type: application/json;charset=UTF-8Body
{
"error": "Unauthorized",
"error_description": "Full authentication is required to access this resource"
}Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"error": {
"type": "string",
"description": "Short http error code description."
},
"error_description": {
"type": "string",
"description": "Detailed description of the error returned."
}
},
"required": [
"error",
"error_description"
]
}Headers
Content-Type: application/json;charset=UTF-8Body
{
"statusCode": 1010,
"responseTime": "08-03-2017 13:46:03.657"
}Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"statusCode": {
"type": "number",
"description": "This is the Onebox error codes. Get the full list here: [go to Onebox error responses](http://developer.oneboxtickets.com/httpresponsecodes.html)"
},
"responseTime": {
"type": "string"
}
},
"required": [
"statusCode",
"responseTime"
]
}Add best seats automaticallyPOST/shoppingCart/addBestSeats{?idSession,idView,idPriceZone,idSector,notNumberedZone,idsShares,numSeats,blockingReason,token,totalCharges}
Use this service to add the best seats available to the shopping cart. The added seats will be no longer available for any other buyer until those will be released, or the shopping cart expires. The [Optional] parameters filters the available seats which fits with the request as better as possible. XML Response
- idSession
number(required) Example: 123- idView
number(optional) Example: 123- idPriceZone
number(optional) Example: 123- idSector
number(optional) Example: 123- notNumberedZone
number(optional) Example: 123- idsShares
array[number](optional) Example: 10, 12, 15- numSeats
number(required) Example: 3- blockingReason
number(optional) Example: 1- token
string(required) Example: 188a5cf2a844e684375172cb1cf2bbf3- totalCharges
number(optional) Example: 120
Add Activity Seats ¶
Headers
Authorization: Bearer [ACCESS_TOKEN]
Content-Type: application/x-www-form-urlencoded
Accept: application/jsonHeaders
Content-Type: application/json;charset=UTF-8
traceID: `String: Unique id to identify the transaction within the Onebox API audit system`
OB_Error_Code: `Number: This is the Onebox error codes. Get the full list here: [go to Onebox error responses](http://developer.oneboxtickets.com/httpresponsecodes.html)`Body
{
"client": {
"@id": 123,
"name": "First name",
"lastname": "Last name",
"$": "1970-01-01",
"email": "email@domain.com",
"receiptMail": "email@domain.com",
"ticketMail": "email@domain.com",
"phone": "0034 555 55 55",
"identification": {
"value": "",
"@type": ""
},
"gender": "NOT_DEFINED",
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
},
"profile-data": {
"@`profile-id`": 123,
"profile-field": [
{
"@`field-id`": 123,
"idValue": [],
"user-input-value": []
}
]
},
"language": {
"value": "",
"@code": ""
},
"groupValidation": [
{
"@idGroup": 123,
"user": "",
"promotionalCode": "",
"externalProperties": {}
}
]
},
"shoppingCartItem": [
{
"shopping-cart-item": {
"ticket-data": {},
"product-data": {
"venue": {
"@id": 432432,
"@name": "World Park",
"@timeZone": "Europe/Berlin",
"communication-elements": {
"@language": "en_US",
"images": [
{
"@type": "LOGO_WEB",
"@order": 1,
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"videos": [
{
"@type": "VIDEO",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"files": [
{
"@type": "FILE",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"banners": [
{
"@type": "CHANNEL_PURCHASE_HEADER_BANNER",
"imageUrl": "https://s3.amazonaws.com/onebox-repository/pro/1/1/itemIdioma/1741/1_image_1340695930723.jpg",
"linkUrl": "http://www.website.com/channel_id"
}
]
},
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
}
},
"product-info": {
"@id": 10,
"internalName": "",
"name": "",
"dates": {
"datetime": [
{
"@type": "EVENT_BEGIN",
"@pendingConfirmation": false,
"@timeZoneId": "Europe/Berlin",
"$": "2018-01-07T19:00:00.000+01:00"
}
]
},
"venue": {
"@id": 432432,
"@name": "World Park",
"@timeZone": "Europe/Berlin",
"communication-elements": {
"@language": "en_US",
"images": [
{
"@type": "LOGO_WEB",
"@order": 1,
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"videos": [
{
"@type": "VIDEO",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"files": [
{
"@type": "FILE",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"banners": [
{
"@type": "CHANNEL_PURCHASE_HEADER_BANNER",
"imageUrl": "https://s3.amazonaws.com/onebox-repository/pro/1/1/itemIdioma/1741/1_image_1340695930723.jpg",
"linkUrl": "http://www.website.com/channel_id"
}
]
},
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
}
},
"catalog-info": {
"entityId": 0,
"name": ""
},
"attributes": {
"attribute": [
{
"@id": 10,
"name": ""
}
]
},
"product-image": [],
"forSale": false,
"bookable": false,
"product-variant": [
{
"id": 10,
"sku": "",
"price-breakdown": {
"base-price": 10,
"automatic-promotion": 0,
"manual-promotion": 0,
"manual-discount": 0,
"client-discount": 0,
"client-comission": 0,
"charges": {
"charge": [
{
"@type": "CHANNEL_CHARGE",
"value 1.5": 0
}
]
},
"delivery-costs": 0,
"insurance": 0,
"taxes": {
"tax": [
{
"@id": 10,
"value": 0
}
]
},
"final-price": 20
},
"limited-stock": false,
"variant-availability": 0,
"variant-attributes": {
"variant-attribute": [
{
"attribute": {
"@id": 10,
"name": ""
},
"value": ""
}
]
},
"venue": {
"@id": 432432,
"@name": "World Park",
"@timeZone": "Europe/Berlin",
"communication-elements": {
"@language": "en_US",
"images": [
{
"@type": "LOGO_WEB",
"@order": 1,
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"videos": [
{
"@type": "VIDEO",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"files": [
{
"@type": "FILE",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"banners": [
{
"@type": "CHANNEL_PURCHASE_HEADER_BANNER",
"imageUrl": "https://s3.amazonaws.com/onebox-repository/pro/1/1/itemIdioma/1741/1_image_1340695930723.jpg",
"linkUrl": "http://www.website.com/channel_id"
}
]
},
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
}
},
"catalog-info": {
"entityId": 0,
"name": ""
},
"product-info": {
"@id": 10,
"internalName": "",
"name": "",
"dates": {
"datetime": [
{
"@type": "EVENT_BEGIN",
"@pendingConfirmation": false,
"@timeZoneId": "Europe/Berlin",
"$": "2018-01-07T19:00:00.000+01:00"
}
]
},
"venue": {
"@id": 432432,
"@name": "World Park",
"@timeZone": "Europe/Berlin",
"communication-elements": {
"@language": "en_US",
"images": [
{
"@type": "LOGO_WEB",
"@order": 1,
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"videos": [
{
"@type": "VIDEO",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"files": [
{
"@type": "FILE",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"banners": [
{
"@type": "CHANNEL_PURCHASE_HEADER_BANNER",
"imageUrl": "https://s3.amazonaws.com/onebox-repository/pro/1/1/itemIdioma/1741/1_image_1340695930723.jpg",
"linkUrl": "http://www.website.com/channel_id"
}
]
},
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
}
},
"catalog-info": {
"entityId": 0,
"name": ""
},
"attributes": {
"attribute": [
{
"@id": 10,
"name": ""
}
]
},
"product-image": [],
"forSale": false,
"bookable": false,
"product-variant": []
}
}
]
},
"variant-attributes": {
"variant-attribute": [
{
"attribute": {
"@id": 10,
"name": ""
},
"value": ""
}
]
},
"printouts": 0,
"cancellations": 0,
"status": "PURCHASED",
"sku": "",
"customer": {
"@id": 123,
"name": "First name",
"lastname": "Last name",
"$": "1970-01-01",
"email": "email@domain.com",
"receiptMail": "email@domain.com",
"ticketMail": "email@domain.com",
"phone": "0034 555 55 55",
"identification": {
"value": "",
"@type": ""
},
"gender": "NOT_DEFINED",
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
},
"profile-data": {
"@`profile-id`": 123,
"profile-field": [
{
"@`field-id`": 123,
"idValue": [],
"user-input-value": []
}
]
},
"language": {
"value": "",
"@code": ""
},
"groupValidation": [
{
"@idGroup": 123,
"user": "",
"promotionalCode": "",
"externalProperties": {}
}
]
},
"session-basic-info": {
"@id": 5553432,
"internalName": "7 days 1 park",
"name": "7 days 1 park",
"description": "<P ALIGN=\\\"LEFT\\\">Six amazing worlds in just one Park, perfect for having fun in family and frends as well.</P>",
"dates": {
"datetime": [
{
"@type": "EVENT_BEGIN",
"@pendingConfirmation": false,
"@timeZoneId": "Europe/Berlin",
"$": "2018-01-07T19:00:00.000+01:00"
}
]
},
"venue": {
"@id": 432432,
"@name": "World Park",
"@timeZone": "Europe/Berlin",
"communication-elements": {
"@language": "en_US",
"images": [
{
"@type": "LOGO_WEB",
"@order": 1,
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"videos": [
{
"@type": "VIDEO",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"files": [
{
"@type": "FILE",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"banners": [
{
"@type": "CHANNEL_PURCHASE_HEADER_BANNER",
"imageUrl": "https://s3.amazonaws.com/onebox-repository/pro/1/1/itemIdioma/1741/1_image_1340695930723.jpg",
"linkUrl": "http://www.website.com/channel_id"
}
]
},
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
}
},
"space": {
"id": 150,
"name": "SPACE"
},
"event-basic-info": {
"@id": 23454,
"internalName": "7 days 1 park",
"externalReferenceCode": "EXT-123",
"title": "Theme Park",
"subtitle": "¡Discover the 6 worlds adrenaline!",
"shortDescription": "<P ALIGN=\\\"LEFT\\\">Six amazing worlds in just one Park, perfect for having fun in family and frends as well.</P>",
"longDescription": "<P ALIGN=\\\"LEFT\\\">Explore a whole world of fun and know our amazing theme parks. An ideal destination for a family getaway, located in one of the best tourist areas of Spain and just an hour from Barcelona! </ P> <BR/> <P ALIGN = \\ \"LEFT \\\"> The best entertainment, relaxation, gastronomy and shopping you can imagine. > A DESTINY AND SIX WORLDS TO DISCOVER </ P> <P ALIGN = \\ \"LEFT \\\"> Here begins a journey that takes you much further than you can imagine. At the Park we look forward to six fascinating worlds completely different, with a careful decoration to the last detail, so that you enjoy to the maximum. Emotions for all tastes. Families, friends, big and small: in our theme park, all the fun.</P>",
"additionalEventData": "",
"duration": "",
"communication-elements": {
"@language": "en_US",
"images": [
{
"@type": "LOGO_WEB",
"@order": 1,
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"videos": [
{
"@type": "VIDEO",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"files": [
{
"@type": "FILE",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"banners": [
{
"@type": "CHANNEL_PURCHASE_HEADER_BANNER",
"imageUrl": "https://s3.amazonaws.com/onebox-repository/pro/1/1/itemIdioma/1741/1_image_1340695930723.jpg",
"linkUrl": "http://www.website.com/channel_id"
}
]
},
"taxonomy": {
"@id": 68,
"code": "APRTEM",
"description": "Theme Parks",
"superior-taxonomy": {
"@id": 68,
"code": "APRTEM",
"description": "Theme Parks"
}
},
"custom-taxonomy": {
"@id": 68,
"code": "APRTEM",
"description": "Theme Parks"
},
"promoter-custom-taxonomy": {
"@id": 68,
"code": "APRTEM",
"description": "Theme Parks"
},
"languages": {
"language": [
"",
"ca_ES"
]
},
"dates": {
"datetime": [
{
"@type": "EVENT_BEGIN",
"@pendingConfirmation": false,
"@timeZoneId": "Europe/Berlin",
"$": "2018-01-07T19:00:00.000+01:00"
}
]
},
"entidad": {
"@id": 123,
"name": "Theme Park",
"nif": "A54343234",
"email": "info@theme.park",
"phoneNumber": "0034 555 55 55",
"timeZone": "Europe/Madrid",
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
}
},
"promotor": {
"@id": 475,
"corporateName": "Theme Park Entertainment SA.",
"fiscalCode": "A53776307",
"email": "info@theme.park",
"phoneNumber": "0034 555 55 55",
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
}
},
"tour": {
"@id": 475,
"name": "Theme Park",
"promotorReference": "Theme Park Entertainment SA."
},
"severalVenues": false,
"severalLocations": false,
"supraEvent": false,
"giftTicket": false,
"nominal": false,
"eventType": "EVENT",
"attribute-values": [
{
"attribute-info": {
"id": 0,
"name": "",
"selection": "SINGLE",
"domain-value-info": [
{
"idValue": 10,
"value": "oneboxtm",
"referenceCode": "OB"
}
],
"domain": "EVENT",
"valueType": "DOMAIN_VALUE",
"referenceCode": "Attr"
},
"attribute-value": [
{
"user-input-value": {},
"domain-value": {
"value": "``",
"idValue": 30
}
}
],
"idAttribute": 50,
"description": "DESCRIPTION"
}
],
"passbookPreferences": {
"communication-elements": {
"@language": "en_US",
"images": [
{
"@type": "LOGO_WEB",
"@order": 1,
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"videos": [
{
"@type": "VIDEO",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"files": [
{
"@type": "FILE",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"banners": [
{
"@type": "CHANNEL_PURCHASE_HEADER_BANNER",
"imageUrl": "https://s3.amazonaws.com/onebox-repository/pro/1/1/itemIdioma/1741/1_image_1340695930723.jpg",
"linkUrl": "http://www.website.com/channel_id"
}
]
}
},
"clientEventDiscount": {
"discountType": "AMOUNT"
}
},
"forSale": true,
"blockingReasons": "",
"hasProducts": false,
"admission": "ALL_AGES_ADMITTED",
"supportedEventType": "EVENT",
"supportedVisitorType": "INDIVIDUAL",
"attribute-values": [
{
"attribute-info": {
"id": 0,
"name": "",
"selection": "SINGLE",
"domain-value-info": [
{
"idValue": 10,
"value": "oneboxtm",
"referenceCode": "OB"
}
],
"domain": "EVENT",
"valueType": "DOMAIN_VALUE",
"referenceCode": "Attr"
},
"attribute-value": [
{
"user-input-value": {},
"domain-value": {
"value": "``",
"idValue": 30
}
}
],
"idAttribute": 50,
"description": "DESCRIPTION"
}
],
"visitorGroupConfig": "",
"hideSessionDates": false,
"showDate": false,
"showDatetime": false,
"@rates": "7 days 1 park UK/PAP17",
"season-session-info": {
"beginDate": "2015-09-01T12:00:00+01:00",
"endDate": "2015-10-01T12:00:00+01:00",
"idsSeasonSessions": [],
"seasonSessions": {
"@id": 5553432,
"internalName": "7 days 1 park",
"name": "7 days 1 park",
"description": "<P ALIGN=\\\"LEFT\\\">Six amazing worlds in just one Park, perfect for having fun in family and frends as well.</P>",
"dates": {
"datetime": [
{
"@type": "EVENT_BEGIN",
"@pendingConfirmation": false,
"@timeZoneId": "Europe/Berlin",
"$": "2018-01-07T19:00:00.000+01:00"
}
]
},
"venue": {
"@id": 432432,
"@name": "World Park",
"@timeZone": "Europe/Berlin",
"communication-elements": {
"@language": "en_US",
"images": [
{
"@type": "LOGO_WEB",
"@order": 1,
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"videos": [
{
"@type": "VIDEO",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"files": [
{
"@type": "FILE",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"banners": [
{
"@type": "CHANNEL_PURCHASE_HEADER_BANNER",
"imageUrl": "https://s3.amazonaws.com/onebox-repository/pro/1/1/itemIdioma/1741/1_image_1340695930723.jpg",
"linkUrl": "http://www.website.com/channel_id"
}
]
},
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
}
},
"space": {
"id": 150,
"name": "SPACE"
},
"event-basic-info": {
"@id": 23454,
"internalName": "7 days 1 park",
"externalReferenceCode": "EXT-123",
"title": "Theme Park",
"subtitle": "¡Discover the 6 worlds adrenaline!",
"shortDescription": "<P ALIGN=\\\"LEFT\\\">Six amazing worlds in just one Park, perfect for having fun in family and frends as well.</P>",
"longDescription": "<P ALIGN=\\\"LEFT\\\">Explore a whole world of fun and know our amazing theme parks. An ideal destination for a family getaway, located in one of the best tourist areas of Spain and just an hour from Barcelona! </ P> <BR/> <P ALIGN = \\ \"LEFT \\\"> The best entertainment, relaxation, gastronomy and shopping you can imagine. > A DESTINY AND SIX WORLDS TO DISCOVER </ P> <P ALIGN = \\ \"LEFT \\\"> Here begins a journey that takes you much further than you can imagine. At the Park we look forward to six fascinating worlds completely different, with a careful decoration to the last detail, so that you enjoy to the maximum. Emotions for all tastes. Families, friends, big and small: in our theme park, all the fun.</P>",
"additionalEventData": "",
"duration": "",
"communication-elements": {
"@language": "en_US",
"images": [
{
"@type": "LOGO_WEB",
"@order": 1,
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"videos": [
{
"@type": "VIDEO",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"files": [
{
"@type": "FILE",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"banners": [
{
"@type": "CHANNEL_PURCHASE_HEADER_BANNER",
"imageUrl": "https://s3.amazonaws.com/onebox-repository/pro/1/1/itemIdioma/1741/1_image_1340695930723.jpg",
"linkUrl": "http://www.website.com/channel_id"
}
]
},
"taxonomy": {
"@id": 68,
"code": "APRTEM",
"description": "Theme Parks",
"superior-taxonomy": {
"@id": 68,
"code": "APRTEM",
"description": "Theme Parks"
}
},
"custom-taxonomy": {
"@id": 68,
"code": "APRTEM",
"description": "Theme Parks"
},
"promoter-custom-taxonomy": {
"@id": 68,
"code": "APRTEM",
"description": "Theme Parks"
},
"languages": {
"language": [
"",
"ca_ES"
]
},
"dates": {
"datetime": [
{
"@type": "EVENT_BEGIN",
"@pendingConfirmation": false,
"@timeZoneId": "Europe/Berlin",
"$": "2018-01-07T19:00:00.000+01:00"
}
]
},
"entidad": {
"@id": 123,
"name": "Theme Park",
"nif": "A54343234",
"email": "info@theme.park",
"phoneNumber": "0034 555 55 55",
"timeZone": "Europe/Madrid",
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
}
},
"promotor": {
"@id": 475,
"corporateName": "Theme Park Entertainment SA.",
"fiscalCode": "A53776307",
"email": "info@theme.park",
"phoneNumber": "0034 555 55 55",
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
}
},
"tour": {
"@id": 475,
"name": "Theme Park",
"promotorReference": "Theme Park Entertainment SA."
},
"severalVenues": false,
"severalLocations": false,
"supraEvent": false,
"giftTicket": false,
"nominal": false,
"eventType": "EVENT",
"attribute-values": [
{
"attribute-info": {
"id": 0,
"name": "",
"selection": "SINGLE",
"domain-value-info": [
{
"idValue": 10,
"value": "oneboxtm",
"referenceCode": "OB"
}
],
"domain": "EVENT",
"valueType": "DOMAIN_VALUE",
"referenceCode": "Attr"
},
"attribute-value": [
{
"user-input-value": {},
"domain-value": {
"value": "``",
"idValue": 30
}
}
],
"idAttribute": 50,
"description": "DESCRIPTION"
}
],
"passbookPreferences": {
"communication-elements": {
"@language": "en_US",
"images": [
{
"@type": "LOGO_WEB",
"@order": 1,
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"videos": [
{
"@type": "VIDEO",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"files": [
{
"@type": "FILE",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"banners": [
{
"@type": "CHANNEL_PURCHASE_HEADER_BANNER",
"imageUrl": "https://s3.amazonaws.com/onebox-repository/pro/1/1/itemIdioma/1741/1_image_1340695930723.jpg",
"linkUrl": "http://www.website.com/channel_id"
}
]
}
},
"clientEventDiscount": {
"discountType": "AMOUNT"
}
},
"forSale": true,
"blockingReasons": "",
"hasProducts": false,
"admission": "ALL_AGES_ADMITTED",
"supportedEventType": "EVENT",
"supportedVisitorType": "INDIVIDUAL",
"attribute-values": [
{
"attribute-info": {
"id": 0,
"name": "",
"selection": "SINGLE",
"domain-value-info": [
{
"idValue": 10,
"value": "oneboxtm",
"referenceCode": "OB"
}
],
"domain": "EVENT",
"valueType": "DOMAIN_VALUE",
"referenceCode": "Attr"
},
"attribute-value": [
{
"user-input-value": {},
"domain-value": {
"value": "``",
"idValue": 30
}
}
],
"idAttribute": 50,
"description": "DESCRIPTION"
}
],
"visitorGroupConfig": "",
"hideSessionDates": false,
"showDate": false,
"showDatetime": false,
"@rates": "7 days 1 park UK/PAP17",
"season-session-info": {}
},
"@isSeasonSession": 0
}
},
"event-basic-info": {
"@id": 23454,
"internalName": "7 days 1 park",
"externalReferenceCode": "EXT-123",
"title": "Theme Park",
"subtitle": "¡Discover the 6 worlds adrenaline!",
"shortDescription": "<P ALIGN=\\\"LEFT\\\">Six amazing worlds in just one Park, perfect for having fun in family and frends as well.</P>",
"longDescription": "<P ALIGN=\\\"LEFT\\\">Explore a whole world of fun and know our amazing theme parks. An ideal destination for a family getaway, located in one of the best tourist areas of Spain and just an hour from Barcelona! </ P> <BR/> <P ALIGN = \\ \"LEFT \\\"> The best entertainment, relaxation, gastronomy and shopping you can imagine. > A DESTINY AND SIX WORLDS TO DISCOVER </ P> <P ALIGN = \\ \"LEFT \\\"> Here begins a journey that takes you much further than you can imagine. At the Park we look forward to six fascinating worlds completely different, with a careful decoration to the last detail, so that you enjoy to the maximum. Emotions for all tastes. Families, friends, big and small: in our theme park, all the fun.</P>",
"additionalEventData": "",
"duration": "",
"communication-elements": {
"@language": "en_US",
"images": [
{
"@type": "LOGO_WEB",
"@order": 1,
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"videos": [
{
"@type": "VIDEO",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"files": [
{
"@type": "FILE",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"banners": [
{
"@type": "CHANNEL_PURCHASE_HEADER_BANNER",
"imageUrl": "https://s3.amazonaws.com/onebox-repository/pro/1/1/itemIdioma/1741/1_image_1340695930723.jpg",
"linkUrl": "http://www.website.com/channel_id"
}
]
},
"taxonomy": {
"@id": 68,
"code": "APRTEM",
"description": "Theme Parks",
"superior-taxonomy": {
"@id": 68,
"code": "APRTEM",
"description": "Theme Parks"
}
},
"custom-taxonomy": {
"@id": 68,
"code": "APRTEM",
"description": "Theme Parks"
},
"promoter-custom-taxonomy": {
"@id": 68,
"code": "APRTEM",
"description": "Theme Parks"
},
"languages": {
"language": [
"",
"ca_ES"
]
},
"dates": {
"datetime": [
{
"@type": "EVENT_BEGIN",
"@pendingConfirmation": false,
"@timeZoneId": "Europe/Berlin",
"$": "2018-01-07T19:00:00.000+01:00"
}
]
},
"entidad": {
"@id": 123,
"name": "Theme Park",
"nif": "A54343234",
"email": "info@theme.park",
"phoneNumber": "0034 555 55 55",
"timeZone": "Europe/Madrid",
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
}
},
"promotor": {
"@id": 475,
"corporateName": "Theme Park Entertainment SA.",
"fiscalCode": "A53776307",
"email": "info@theme.park",
"phoneNumber": "0034 555 55 55",
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
}
},
"tour": {
"@id": 475,
"name": "Theme Park",
"promotorReference": "Theme Park Entertainment SA."
},
"severalVenues": false,
"severalLocations": false,
"supraEvent": false,
"giftTicket": false,
"nominal": false,
"eventType": "EVENT",
"attribute-values": [
{
"attribute-info": {
"id": 0,
"name": "",
"selection": "SINGLE",
"domain-value-info": [
{
"idValue": 10,
"value": "oneboxtm",
"referenceCode": "OB"
}
],
"domain": "EVENT",
"valueType": "DOMAIN_VALUE",
"referenceCode": "Attr"
},
"attribute-value": [
{
"user-input-value": {},
"domain-value": {
"value": "``",
"idValue": 30
}
}
],
"idAttribute": 50,
"description": "DESCRIPTION"
}
],
"passbookPreferences": {
"communication-elements": {
"@language": "en_US",
"images": [
{
"@type": "LOGO_WEB",
"@order": 1,
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"videos": [
{
"@type": "VIDEO",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"files": [
{
"@type": "FILE",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"banners": [
{
"@type": "CHANNEL_PURCHASE_HEADER_BANNER",
"imageUrl": "https://s3.amazonaws.com/onebox-repository/pro/1/1/itemIdioma/1741/1_image_1340695930723.jpg",
"linkUrl": "http://www.website.com/channel_id"
}
]
}
},
"clientEventDiscount": {
"discountType": "AMOUNT"
}
},
"automatic": "",
"promotion": {
"@id": 10,
"activator": "",
"promotionComElements": {
"name": "NAME",
"description": "DESCRIPTION"
}
},
"discount": {
"@id": 10,
"activator": "",
"promotionComElements": {
"name": "NAME",
"description": "DESCRIPTION"
}
},
"productAcquisitionType": "GENERAL"
},
"automatic-protmotion": {
"@id": 30,
"promotionComElements": {
"name": "NAME",
"description": "DESCRIPTION"
},
"type": "PERCENTAGE",
"value": 10,
"priceZonesIds": {
"priceZonesId": [
10,
12,
15
]
},
"group": {
"i@d": 30,
"name": "NAME",
"validationType": "CHANNEL",
"validationMethod": "PROMOTIONAL_CODE"
},
"limitedUses": false
},
"promotion": {
"@id": 30,
"promotionComElements": {
"name": "NAME",
"description": "DESCRIPTION"
},
"type": "PERCENTAGE",
"value": 10,
"priceZonesIds": {
"priceZonesId": [
10,
12,
15
]
},
"group": {
"i@d": 30,
"name": "NAME",
"validationType": "CHANNEL",
"validationMethod": "PROMOTIONAL_CODE"
},
"restrictions": {
"packItems": 0,
"maxItems": 0,
"minItems": 0
},
"mandatory": false,
"self-managed": false,
"limitedUses": false,
"dates": {
"datetime": [
{
"@type": "EVENT_BEGIN",
"@pendingConfirmation": false,
"@timeZoneId": "Europe/Berlin",
"$": "2018-01-07T19:00:00.000+01:00"
}
]
}
},
"promotionActivator": "",
"productId": 0,
"discount": {
"@id": 30,
"promotionComElements": {
"name": "NAME",
"description": "DESCRIPTION"
},
"type": "PERCENTAGE",
"value": 10,
"priceZonesIds": {
"priceZonesId": [
10,
12,
15
]
},
"group": {
"i@d": 30,
"name": "NAME",
"validationType": "CHANNEL",
"validationMethod": "PROMOTIONAL_CODE"
},
"restrictions": {
"packItems": 0,
"maxItems": 0,
"minItems": 0
},
"mandatory": false,
"self-managed": false,
"limitedUses": false,
"dates": {
"datetime": [
{
"@type": "EVENT_BEGIN",
"@pendingConfirmation": false,
"@timeZoneId": "Europe/Berlin",
"$": "2018-01-07T19:00:00.000+01:00"
}
]
}
},
"discountActivator'": "",
"price": "",
"operationsAllowed": {
"printInvoice": false
},
"attendant": {
"field": [
{
"@name": "",
"@value": ""
}
],
"clientDiscount": {
"@value": 0,
"type": "PERCENT"
},
"clientCommission": {
"@value": 0,
"type": "PERCENT"
}
},
"itemWarning": [
"",
"SESSION_NON_CONSECUTIVE_SEAT"
],
"modifyingBookingOrderCode": "",
"clientConiditions": {
"@id": 123
},
"@id": 0,
"@type": "TICKET"
}
}
],
"deliveryMethod": 0,
"deliveryCosts": 0,
"insurance": {
"@id": 123,
"name": "",
"description": "",
"privacyPolicy": "",
"termsOfUse": "",
"additionalData": ""
},
"visitorGroup": [
{
"@id": 123,
"name": "",
"numAttendants": 0,
"numAccompanists": 0,
"attribute-values": [
{
"attribute-info": {
"id": 0,
"name": "",
"selection": "SINGLE",
"domain-value-info": [
{
"idValue": 10,
"value": "oneboxtm",
"referenceCode": "OB"
}
],
"domain": "EVENT",
"valueType": "DOMAIN_VALUE",
"referenceCode": "Attr"
},
"attribute-value": [
{
"user-input-value": {},
"domain-value": {
"value": "``",
"idValue": 30
}
}
],
"idAttribute": 50,
"description": "DESCRIPTION"
}
]
}
],
"totalPriceBreakdown": {
"base-price": 10,
"automatic-promotion": 0,
"manual-promotion": 0,
"manual-discount": 0,
"client-discount": 0,
"client-comission": 0,
"charges": {
"charge": [
{
"@type": "CHANNEL_CHARGE",
"value 1.5": 0
}
]
},
"delivery-costs": 0,
"insurance": 0,
"taxes": {
"tax": [
{
"@id": 10,
"value": 0
}
]
},
"final-price": 20
},
"platformClient": {
"id": 123,
"name": "",
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
},
"clientB2B": {
"businessName": "",
"description": "",
"iataCode": "",
"taxId": "",
"tags": "",
"clientB2BBranch": {
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
},
"contactName": "",
"contactEmail": "",
"contactPhone": "",
"@main": false
},
"user": {
"@id": 123,
"name": "",
"email": "",
"username": ""
},
"@category": 0
},
"type": "B2B"
},
"@token": "",
"@currency": "",
"@timeleft": 0
}Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"client": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique customer identifier."
},
"name": {
"type": "string"
},
"lastname": {
"type": "string"
},
"$": {
"type": "string"
},
"email": {
"type": "string"
},
"receiptMail": {
"type": "string"
},
"ticketMail": {
"type": "string"
},
"phone": {
"type": "string"
},
"identification": {
"type": "object",
"properties": {
"value": {
"type": "string"
},
"@type": {
"type": "string"
}
},
"required": [
"value",
"@type"
]
},
"gender": {
"type": "string",
"enum": [
"NOT_DEFINED",
"MALE",
"FEMALE"
]
},
"location": {
"type": "object",
"properties": {
"address": {
"type": "string",
"description": "Venue address where the event will be performed."
},
"city": {
"type": "string",
"description": "City where the event will be performed."
},
"postalCode": {
"type": "string",
"description": "Postal code or zip code where the event will be performed."
},
"countrySubdivision": {
"type": "object",
"properties": {
"@code": {
"type": "string",
"description": "Item unique identifier."
},
"$": {
"type": "string",
"description": "Item value string."
}
},
"required": [
"@code",
"$"
],
"description": "`Country subdivision, this shall be the province, state or county. Ie: ES-T - Tarragona.`"
},
"country": {
"type": "object",
"properties": {
"@code": {
"type": "string",
"description": "Item unique identifier."
},
"$": {
"type": "string",
"description": "Item value string."
}
},
"required": [
"@code",
"$"
],
"description": "`Ie: ES - Spain.`"
},
"coordinates": {
"type": "string"
}
},
"required": [
"address",
"city",
"postalCode",
"countrySubdivision",
"country"
]
},
"idCard": {
"type": "string"
},
"docType": {
"type": "number"
},
"profile-data": {
"type": "object",
"properties": {
"@`profile-id`": {
"type": "number",
"description": "Unique profile data identifier."
},
"profile-field": {
"type": "array"
}
},
"required": [
"@`profile-id`"
]
},
"language": {
"type": "object",
"properties": {
"value": {
"type": "string"
},
"@code": {
"type": "string"
}
},
"required": [
"value",
"@code"
]
},
"groupValidation": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@idGroup": {
"type": "number",
"description": "Unique group validation identifier."
},
"user": {
"type": "string"
},
"promotionalCode": {
"type": "string"
},
"externalProperties": {
"type": "object",
"properties": {
"externalId": {
"type": "string"
}
}
}
},
"required": [
"@idGroup",
"user",
"promotionalCode"
]
}
},
"allowCommercialMailing": {
"type": "boolean"
}
},
"required": [
"@id",
"name",
"lastname",
"$",
"gender",
"location"
]
},
"shoppingCartItem": {
"type": "array"
},
"deliveryMethod": {
"type": "number"
},
"deliveryCosts": {
"type": "number"
},
"insurance": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique insurance identifier."
},
"name": {
"type": "string"
},
"description": {
"type": "string"
},
"privacyPolicy": {
"type": "string"
},
"termsOfUse": {
"type": "string"
},
"additionalData": {
"type": "string"
}
},
"required": [
"@id",
"name",
"description",
"privacyPolicy",
"termsOfUse",
"additionalData"
]
},
"visitorGroup": {
"type": "array"
},
"totalPriceBreakdown": {
"type": "object",
"properties": {
"base-price": {
"type": "number"
},
"automatic-promotion": {
"type": "number"
},
"manual-promotion": {
"type": "number"
},
"manual-discount": {
"type": "number"
},
"client-discount": {
"type": "number"
},
"client-comission": {
"type": "number"
},
"charges": {
"type": "object",
"properties": {
"charge": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"enum": [
"CHANNEL_CHARGE",
"PROMOTER_CHARGE",
"PROMOTER_CHANNEL_CHARGE"
]
},
"value 1.5": {
"type": "number",
"description": "Value of the charge."
}
},
"required": [
"value 1.5"
]
}
}
},
"required": [
"charge"
]
},
"delivery-costs": {
"type": "number"
},
"insurance": {
"type": "number"
},
"taxes": {
"type": "object",
"properties": {
"tax": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique product identifier."
},
"value": {
"type": "number"
}
},
"required": [
"@id",
"value"
]
}
}
},
"required": [
"tax"
]
},
"final-price": {
"type": "number"
}
},
"required": [
"base-price",
"final-price"
]
},
"platformClient": {
"type": "object",
"properties": {
"id": {
"type": "number",
"description": "Unique platform client identifier."
},
"name": {
"type": "string"
},
"location": {
"type": "object",
"properties": {
"address": {
"type": "string",
"description": "Venue address where the event will be performed."
},
"city": {
"type": "string",
"description": "City where the event will be performed."
},
"postalCode": {
"type": "string",
"description": "Postal code or zip code where the event will be performed."
},
"countrySubdivision": {
"type": "object",
"properties": {
"@code": {
"type": "string",
"description": "Item unique identifier."
},
"$": {
"type": "string",
"description": "Item value string."
}
},
"required": [
"@code",
"$"
],
"description": "`Country subdivision, this shall be the province, state or county. Ie: ES-T - Tarragona.`"
},
"country": {
"type": "object",
"properties": {
"@code": {
"type": "string",
"description": "Item unique identifier."
},
"$": {
"type": "string",
"description": "Item value string."
}
},
"required": [
"@code",
"$"
],
"description": "`Ie: ES - Spain.`"
},
"coordinates": {
"type": "string"
}
},
"required": [
"address",
"city",
"postalCode",
"countrySubdivision",
"country"
]
},
"clientB2B": {
"type": "object",
"properties": {
"businessName": {
"type": "string"
},
"description": {
"type": "string"
},
"iataCode": {
"type": "string"
},
"taxId": {
"type": "string"
},
"tags": {
"type": "string"
},
"clientB2BBranch": {
"type": "object",
"properties": {
"location": {
"type": "object",
"properties": {
"address": {
"type": "string",
"description": "Venue address where the event will be performed."
},
"city": {
"type": "string",
"description": "City where the event will be performed."
},
"postalCode": {
"type": "string",
"description": "Postal code or zip code where the event will be performed."
},
"countrySubdivision": {
"type": "object",
"properties": {
"@code": {
"type": "string",
"description": "Item unique identifier."
},
"$": {
"type": "string",
"description": "Item value string."
}
},
"required": [
"@code",
"$"
],
"description": "`Country subdivision, this shall be the province, state or county. Ie: ES-T - Tarragona.`"
},
"country": {
"type": "object",
"properties": {
"@code": {
"type": "string",
"description": "Item unique identifier."
},
"$": {
"type": "string",
"description": "Item value string."
}
},
"required": [
"@code",
"$"
],
"description": "`Ie: ES - Spain.`"
},
"coordinates": {
"type": "string"
}
},
"required": [
"address",
"city",
"postalCode",
"countrySubdivision",
"country"
]
},
"contactName": {
"type": "string"
},
"contactEmail": {
"type": "string"
},
"contactPhone": {
"type": "string"
},
"@main": {
"type": "boolean"
}
},
"required": [
"location",
"contactName",
"contactEmail",
"contactPhone",
"@main"
]
},
"user": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique user identifier."
},
"name": {
"type": "string"
},
"email": {
"type": "string"
},
"username": {
"type": "string"
}
},
"required": [
"@id",
"name",
"email",
"username"
]
},
"@category": {
"type": "number"
}
},
"required": [
"businessName",
"description",
"iataCode",
"taxId",
"tags",
"clientB2BBranch",
"user"
]
},
"type": {
"type": "string",
"enum": [
"B2B",
"B2C"
]
}
},
"required": [
"id",
"name"
]
},
"@token": {
"type": "string"
},
"@currency": {
"type": "string"
},
"@timeleft": {
"type": "number"
}
},
"required": [
"client",
"shoppingCartItem",
"visitorGroup",
"totalPriceBreakdown",
"platformClient",
"@token",
"@currency",
"@timeleft"
]
}Headers
Content-Type: application/json;charset=UTF-8Body
{
"error": "Bad request",
"error_description": "There was a syntax error, check your params request and try it again."
}Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"error": {
"type": "string",
"description": "Short http error code description"
},
"error_description": {
"type": "string",
"description": "Detailed description of the error returned."
}
},
"required": [
"error",
"error_description"
]
}Headers
Content-Type: application/json;charset=UTF-8Body
{
"error": "Unauthorized",
"error_description": "Full authentication is required to access this resource"
}Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"error": {
"type": "string",
"description": "Short http error code description."
},
"error_description": {
"type": "string",
"description": "Detailed description of the error returned."
}
},
"required": [
"error",
"error_description"
]
}Headers
Content-Type: application/json;charset=UTF-8Body
{
"statusCode": 1010,
"responseTime": "08-03-2017 13:46:03.657"
}Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"statusCode": {
"type": "number",
"description": "This is the Onebox error codes. Get the full list here: [go to Onebox error responses](http://developer.oneboxtickets.com/httpresponsecodes.html)"
},
"responseTime": {
"type": "string"
}
},
"required": [
"statusCode",
"responseTime"
]
}Add individual activity seatsPOST/shoppingCart/addIndividualActivitySeats{?token,idSession,numSeats,idActivityTicketType}
Use this service to add individual activity seats to an existing shopping cart identified by a token id. The seats will be locked up to 10 minutes.
- token
string(required) Example: 188a5cf2a844e684375172cb1cf2bbf3- idSession
number(required) Example: 1234- numSeats
number(required) Example: 2- idActivityTicketType
number(required) Example: 1872923
Available Promotions And Discounts ¶
Headers
Authorization: Bearer [ACCESS_TOKEN]
Content-Type: application/json
Accept: application/json- Headers
traceID:
String: Unique id to identify the transaction within the Onebox API audit systemOB_Error_Code:Number: This is the Onebox error codes. Get the full list here: [go to Onebox error responses](http://developer.oneboxtickets.com/httpresponsecodes.html)
Headers
Content-Type: application/json;charset=UTF-8Body
{
"@currency": "EUR",
"@timeLeft": 1,
"@token": "188a5cf2a844e684375172cb1cf2bbf3",
"shopping-cart-item-sales": {
"@id": 150,
"discounts": {
"promotion": [
{
"@id": 30,
"promotionComElements": {
"name": "NAME",
"description": "DESCRIPTION"
},
"type": "PERCENTAGE",
"value": 10,
"priceZonesIds": {
"priceZonesId": [
10,
12,
15
]
},
"group": {
"i@d": 30,
"name": "NAME",
"validationType": "NONE",
"validationMethod": "PROMOTIONAL_CODE"
},
"restrictions": {
"packItems": 1,
"maxItems": 1,
"minItems": 1
},
"mandatory": false,
"self-managed": false,
"limitedUses": false,
"dates": {
"datetime": [
{
"@type": "EVENT_BEGIN",
"@pendingConfirmation": false,
"@timeZoneId": "Europe/Berlin",
"$": "2018-01-07T19:00:00.000+01:00"
}
]
}
}
]
},
"promotions": {
"promotion": [
{
"@id": 30,
"promotionComElements": {
"name": "NAME",
"description": "DESCRIPTION"
},
"type": "PERCENTAGE",
"value": 10,
"priceZonesIds": {
"priceZonesId": [
10,
12,
15
]
},
"group": {
"i@d": 30,
"name": "NAME",
"validationType": "NONE",
"validationMethod": "PROMOTIONAL_CODE"
},
"restrictions": {
"packItems": 1,
"maxItems": 1,
"minItems": 1
},
"mandatory": false,
"self-managed": false,
"limitedUses": false,
"dates": {
"datetime": [
{
"@type": "EVENT_BEGIN",
"@pendingConfirmation": false,
"@timeZoneId": "Europe/Berlin",
"$": "2018-01-07T19:00:00.000+01:00"
}
]
}
}
]
}
}
}Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"@currency": {
"type": "string"
},
"@timeLeft": {
"type": "number"
},
"@token": {
"type": "string"
},
"shopping-cart-item-sales": {
"type": "object",
"properties": {
"@id": {
"type": "number"
},
"discounts": {
"type": "object",
"properties": {
"promotion": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique promotion identifier."
},
"promotionComElements": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"description": {
"type": "string"
}
}
},
"type": {
"type": "string",
"enum": [
"PERCENTAGE",
"FIXED",
"UNDEFINED"
]
},
"value": {
"type": "number"
},
"priceZonesIds": {
"type": "object",
"properties": {
"priceZonesId": {
"type": "array"
}
}
},
"group": {
"type": "object",
"properties": {
"i@d": {
"type": "number",
"description": "Unique identifier."
},
"name": {
"type": "string"
},
"validationType": {
"type": "string",
"enum": [
"NONE",
"VENUE",
"INTERNAL",
"CHANNEL"
]
},
"validationMethod": {
"type": "string",
"enum": [
"PROMOTIONAL_CODE",
"USER",
"USER_PASSWORD",
"CREDIT_CARD",
"GIFT_TICKET"
]
}
},
"required": [
"i@d",
"validationType",
"validationMethod"
]
},
"restrictions": {
"type": "object",
"properties": {
"packItems": {
"type": "number"
},
"maxItems": {
"type": "number"
},
"minItems": {
"type": "number"
}
}
},
"mandatory": {
"type": "boolean",
"description": "Default false"
},
"self-managed": {
"type": "boolean",
"description": "Default false"
},
"limitedUses": {
"type": "boolean",
"description": "Default false"
},
"dates": {
"type": "object",
"properties": {
"datetime": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"enum": [
"EVENT_BEGIN",
"EVENT_END",
"SESSION_BEGIN",
"SESSION_END",
"SESSION_SALES_BEGIN",
"SESSION_SALES_END",
"PRODUCT_SALES",
"PRODUCT_SALES_END",
"SESSION_PUBLISHED",
"PROMOTION_BEGIN",
"PROMOTION_END",
"SEASON_TICKET_HOLDER_BEGIN",
"SEASON_TICKET_HOLDER_END"
],
"description": "Define the date meaning possibilites."
},
"@pendingConfirmation": {
"type": "boolean",
"description": "Says whether the date is finally commited or not."
},
"@timeZoneId": {
"type": "string",
"description": "Define the time zone worldwide from UTC."
},
"$": {
"type": "string",
"description": "XmlGregorianCalendar representation of the given date."
}
}
}
}
}
}
},
"required": [
"@id",
"type",
"value"
]
}
}
},
"required": [
"promotion"
]
},
"promotions": {
"type": "object",
"properties": {
"promotion": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique promotion identifier."
},
"promotionComElements": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"description": {
"type": "string"
}
}
},
"type": {
"type": "string",
"enum": [
"PERCENTAGE",
"FIXED",
"UNDEFINED"
]
},
"value": {
"type": "number"
},
"priceZonesIds": {
"type": "object",
"properties": {
"priceZonesId": {
"type": "array"
}
}
},
"group": {
"type": "object",
"properties": {
"i@d": {
"type": "number",
"description": "Unique identifier."
},
"name": {
"type": "string"
},
"validationType": {
"type": "string",
"enum": [
"NONE",
"VENUE",
"INTERNAL",
"CHANNEL"
]
},
"validationMethod": {
"type": "string",
"enum": [
"PROMOTIONAL_CODE",
"USER",
"USER_PASSWORD",
"CREDIT_CARD",
"GIFT_TICKET"
]
}
},
"required": [
"i@d",
"validationType",
"validationMethod"
]
},
"restrictions": {
"type": "object",
"properties": {
"packItems": {
"type": "number"
},
"maxItems": {
"type": "number"
},
"minItems": {
"type": "number"
}
}
},
"mandatory": {
"type": "boolean",
"description": "Default false"
},
"self-managed": {
"type": "boolean",
"description": "Default false"
},
"limitedUses": {
"type": "boolean",
"description": "Default false"
},
"dates": {
"type": "object",
"properties": {
"datetime": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"enum": [
"EVENT_BEGIN",
"EVENT_END",
"SESSION_BEGIN",
"SESSION_END",
"SESSION_SALES_BEGIN",
"SESSION_SALES_END",
"PRODUCT_SALES",
"PRODUCT_SALES_END",
"SESSION_PUBLISHED",
"PROMOTION_BEGIN",
"PROMOTION_END",
"SEASON_TICKET_HOLDER_BEGIN",
"SEASON_TICKET_HOLDER_END"
],
"description": "Define the date meaning possibilites."
},
"@pendingConfirmation": {
"type": "boolean",
"description": "Says whether the date is finally commited or not."
},
"@timeZoneId": {
"type": "string",
"description": "Define the time zone worldwide from UTC."
},
"$": {
"type": "string",
"description": "XmlGregorianCalendar representation of the given date."
}
}
}
}
}
}
},
"required": [
"@id",
"type",
"value"
]
}
}
},
"required": [
"promotion"
]
}
},
"required": [
"@id"
]
}
},
"required": [
"@currency",
"@timeLeft",
"@token",
"shopping-cart-item-sales"
]
}Headers
Content-Type: application/json;charset=UTF-8Body
{
"error": "Bad request",
"error_description": "There was a syntax error, check your params request and try it again."
}Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"error": {
"type": "string",
"description": "Short http error code description"
},
"error_description": {
"type": "string",
"description": "Detailed description of the error returned."
}
},
"required": [
"error",
"error_description"
]
}Headers
Content-Type: application/json;charset=UTF-8Body
{
"error": "Unauthorized",
"error_description": "Full authentication is required to access this resource"
}Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"error": {
"type": "string",
"description": "Short http error code description."
},
"error_description": {
"type": "string",
"description": "Detailed description of the error returned."
}
},
"required": [
"error",
"error_description"
]
}Headers
Content-Type: application/json;charset=UTF-8Body
{
"statusCode": 1010,
"responseTime": "08-03-2017 13:46:03.657"
}Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"statusCode": {
"type": "number",
"description": "This is the Onebox error codes. Get the full list here: [go to Onebox error responses](http://developer.oneboxtickets.com/httpresponsecodes.html)"
},
"responseTime": {
"type": "string"
}
},
"required": [
"statusCode",
"responseTime"
]
}Get Available Promotions And DiscountsGET/shoppingCart/availablePromotionsAndDiscounts{?token}
Use this service to retrieve all the promotions and discounts available for each item from a shopping cart.
- token
string(required) Example: 188a5cf2a844e684375172cb1cf2bbf3
Promotional Group Codes ¶
Headers
Authorization: Bearer [ACCESS_TOKEN]
Content-Type: application/json
Accept: application/json- Headers
traceID:
String: Unique id to identify the transaction within the Onebox API audit systemOB_Error_Code:Number: This is the Onebox error codes. Get the full list here: [go to Onebox error responses](http://developer.oneboxtickets.com/httpresponsecodes.html)
Headers
Content-Type: application/json;charset=UTF-8Body
{
"@idGroup": 123,
"@promotionalCode": "00000000A"
}Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"@idGroup": {
"type": "number"
},
"@promotionalCode": {
"type": "string"
}
},
"required": [
"@idGroup",
"@promotionalCode"
]
}Headers
Content-Type: application/json;charset=UTF-8Body
{
"error": "Bad request",
"error_description": "There was a syntax error, check your params request and try it again."
}Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"error": {
"type": "string",
"description": "Short http error code description"
},
"error_description": {
"type": "string",
"description": "Detailed description of the error returned."
}
},
"required": [
"error",
"error_description"
]
}Headers
Content-Type: application/json;charset=UTF-8Body
{
"error": "Unauthorized",
"error_description": "Full authentication is required to access this resource"
}Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"error": {
"type": "string",
"description": "Short http error code description."
},
"error_description": {
"type": "string",
"description": "Detailed description of the error returned."
}
},
"required": [
"error",
"error_description"
]
}Headers
Content-Type: application/json;charset=UTF-8Body
{
"statusCode": 1010,
"responseTime": "08-03-2017 13:46:03.657"
}Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"statusCode": {
"type": "number",
"description": "This is the Onebox error codes. Get the full list here: [go to Onebox error responses](http://developer.oneboxtickets.com/httpresponsecodes.html)"
},
"responseTime": {
"type": "string"
}
},
"required": [
"statusCode",
"responseTime"
]
}Get promotional group codesPOST/shoppingCart/promotionalCodeGroup{?token,promotionalCode,idGroup}
Use this service to retrieve the available promotional offer codes where the promotional code is applicable for.
- token
string(required) Example: 188a5cf2a844e684375172cb1cf2bbf3- promotionalCode
string(required) Example: 00000000A- idGroup
number(optional) Example: 123
Discounts ¶
Headers
Authorization: Bearer [ACCESS_TOKEN]
Content-Type: application/json
Accept: application/json- Headers
traceID:
String: Unique id to identify the transaction within the Onebox API audit systemOB_Error_Code:Number: This is the Onebox error codes. Get the full list here: [go to Onebox error responses](http://developer.oneboxtickets.com/httpresponsecodes.html)
Headers
Content-Type: application/json;charset=UTF-8Body
{
"client": {
"@id": 123,
"name": "First name",
"lastname": "Last name",
"$": "1970-01-01",
"email": "email@domain.com",
"receiptMail": "email@domain.com",
"ticketMail": "email@domain.com",
"phone": "0034 555 55 55",
"identification": {
"value": "",
"@type": ""
},
"gender": "NOT_DEFINED",
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
},
"profile-data": {
"@`profile-id`": 123,
"profile-field": [
{
"@`field-id`": 123,
"idValue": [],
"user-input-value": []
}
]
},
"language": {
"value": "",
"@code": ""
},
"groupValidation": [
{
"@idGroup": 123,
"user": "",
"promotionalCode": "",
"externalProperties": {}
}
]
},
"shoppingCartItem": [
{
"shopping-cart-item": {
"ticket-data": {},
"product-data": {
"venue": {
"@id": 432432,
"@name": "World Park",
"@timeZone": "Europe/Berlin",
"communication-elements": {
"@language": "en_US",
"images": [
{
"@type": "LOGO_WEB",
"@order": 1,
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"videos": [
{
"@type": "VIDEO",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"files": [
{
"@type": "FILE",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"banners": [
{
"@type": "CHANNEL_PURCHASE_HEADER_BANNER",
"imageUrl": "https://s3.amazonaws.com/onebox-repository/pro/1/1/itemIdioma/1741/1_image_1340695930723.jpg",
"linkUrl": "http://www.website.com/channel_id"
}
]
},
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
}
},
"product-info": {
"@id": 10,
"internalName": "",
"name": "",
"dates": {
"datetime": [
{
"@type": "EVENT_BEGIN",
"@pendingConfirmation": false,
"@timeZoneId": "Europe/Berlin",
"$": "2018-01-07T19:00:00.000+01:00"
}
]
},
"venue": {
"@id": 432432,
"@name": "World Park",
"@timeZone": "Europe/Berlin",
"communication-elements": {
"@language": "en_US",
"images": [
{
"@type": "LOGO_WEB",
"@order": 1,
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"videos": [
{
"@type": "VIDEO",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"files": [
{
"@type": "FILE",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"banners": [
{
"@type": "CHANNEL_PURCHASE_HEADER_BANNER",
"imageUrl": "https://s3.amazonaws.com/onebox-repository/pro/1/1/itemIdioma/1741/1_image_1340695930723.jpg",
"linkUrl": "http://www.website.com/channel_id"
}
]
},
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
}
},
"catalog-info": {
"entityId": 0,
"name": ""
},
"attributes": {
"attribute": [
{
"@id": 10,
"name": ""
}
]
},
"product-image": [],
"forSale": false,
"bookable": false,
"product-variant": [
{
"id": 10,
"sku": "",
"price-breakdown": {
"base-price": 10,
"automatic-promotion": 0,
"manual-promotion": 0,
"manual-discount": 0,
"client-discount": 0,
"client-comission": 0,
"charges": {
"charge": [
{
"@type": "CHANNEL_CHARGE",
"value 1.5": 0
}
]
},
"delivery-costs": 0,
"insurance": 0,
"taxes": {
"tax": [
{
"@id": 10,
"value": 0
}
]
},
"final-price": 20
},
"limited-stock": false,
"variant-availability": 0,
"variant-attributes": {
"variant-attribute": [
{
"attribute": {
"@id": 10,
"name": ""
},
"value": ""
}
]
},
"venue": {
"@id": 432432,
"@name": "World Park",
"@timeZone": "Europe/Berlin",
"communication-elements": {
"@language": "en_US",
"images": [
{
"@type": "LOGO_WEB",
"@order": 1,
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"videos": [
{
"@type": "VIDEO",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"files": [
{
"@type": "FILE",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"banners": [
{
"@type": "CHANNEL_PURCHASE_HEADER_BANNER",
"imageUrl": "https://s3.amazonaws.com/onebox-repository/pro/1/1/itemIdioma/1741/1_image_1340695930723.jpg",
"linkUrl": "http://www.website.com/channel_id"
}
]
},
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
}
},
"catalog-info": {
"entityId": 0,
"name": ""
},
"product-info": {
"@id": 10,
"internalName": "",
"name": "",
"dates": {
"datetime": [
{
"@type": "EVENT_BEGIN",
"@pendingConfirmation": false,
"@timeZoneId": "Europe/Berlin",
"$": "2018-01-07T19:00:00.000+01:00"
}
]
},
"venue": {
"@id": 432432,
"@name": "World Park",
"@timeZone": "Europe/Berlin",
"communication-elements": {
"@language": "en_US",
"images": [
{
"@type": "LOGO_WEB",
"@order": 1,
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"videos": [
{
"@type": "VIDEO",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"files": [
{
"@type": "FILE",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"banners": [
{
"@type": "CHANNEL_PURCHASE_HEADER_BANNER",
"imageUrl": "https://s3.amazonaws.com/onebox-repository/pro/1/1/itemIdioma/1741/1_image_1340695930723.jpg",
"linkUrl": "http://www.website.com/channel_id"
}
]
},
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
}
},
"catalog-info": {
"entityId": 0,
"name": ""
},
"attributes": {
"attribute": [
{
"@id": 10,
"name": ""
}
]
},
"product-image": [],
"forSale": false,
"bookable": false,
"product-variant": []
}
}
]
},
"variant-attributes": {
"variant-attribute": [
{
"attribute": {
"@id": 10,
"name": ""
},
"value": ""
}
]
},
"printouts": 0,
"cancellations": 0,
"status": "PURCHASED",
"sku": "",
"customer": {
"@id": 123,
"name": "First name",
"lastname": "Last name",
"$": "1970-01-01",
"email": "email@domain.com",
"receiptMail": "email@domain.com",
"ticketMail": "email@domain.com",
"phone": "0034 555 55 55",
"identification": {
"value": "",
"@type": ""
},
"gender": "NOT_DEFINED",
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
},
"profile-data": {
"@`profile-id`": 123,
"profile-field": [
{
"@`field-id`": 123,
"idValue": [],
"user-input-value": []
}
]
},
"language": {
"value": "",
"@code": ""
},
"groupValidation": [
{
"@idGroup": 123,
"user": "",
"promotionalCode": "",
"externalProperties": {}
}
]
},
"session-basic-info": {
"@id": 5553432,
"internalName": "7 days 1 park",
"name": "7 days 1 park",
"description": "<P ALIGN=\\\"LEFT\\\">Six amazing worlds in just one Park, perfect for having fun in family and frends as well.</P>",
"dates": {
"datetime": [
{
"@type": "EVENT_BEGIN",
"@pendingConfirmation": false,
"@timeZoneId": "Europe/Berlin",
"$": "2018-01-07T19:00:00.000+01:00"
}
]
},
"venue": {
"@id": 432432,
"@name": "World Park",
"@timeZone": "Europe/Berlin",
"communication-elements": {
"@language": "en_US",
"images": [
{
"@type": "LOGO_WEB",
"@order": 1,
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"videos": [
{
"@type": "VIDEO",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"files": [
{
"@type": "FILE",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"banners": [
{
"@type": "CHANNEL_PURCHASE_HEADER_BANNER",
"imageUrl": "https://s3.amazonaws.com/onebox-repository/pro/1/1/itemIdioma/1741/1_image_1340695930723.jpg",
"linkUrl": "http://www.website.com/channel_id"
}
]
},
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
}
},
"space": {
"id": 150,
"name": "SPACE"
},
"event-basic-info": {
"@id": 23454,
"internalName": "7 days 1 park",
"externalReferenceCode": "EXT-123",
"title": "Theme Park",
"subtitle": "¡Discover the 6 worlds adrenaline!",
"shortDescription": "<P ALIGN=\\\"LEFT\\\">Six amazing worlds in just one Park, perfect for having fun in family and frends as well.</P>",
"longDescription": "<P ALIGN=\\\"LEFT\\\">Explore a whole world of fun and know our amazing theme parks. An ideal destination for a family getaway, located in one of the best tourist areas of Spain and just an hour from Barcelona! </ P> <BR/> <P ALIGN = \\ \"LEFT \\\"> The best entertainment, relaxation, gastronomy and shopping you can imagine. > A DESTINY AND SIX WORLDS TO DISCOVER </ P> <P ALIGN = \\ \"LEFT \\\"> Here begins a journey that takes you much further than you can imagine. At the Park we look forward to six fascinating worlds completely different, with a careful decoration to the last detail, so that you enjoy to the maximum. Emotions for all tastes. Families, friends, big and small: in our theme park, all the fun.</P>",
"additionalEventData": "",
"duration": "",
"communication-elements": {
"@language": "en_US",
"images": [
{
"@type": "LOGO_WEB",
"@order": 1,
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"videos": [
{
"@type": "VIDEO",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"files": [
{
"@type": "FILE",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"banners": [
{
"@type": "CHANNEL_PURCHASE_HEADER_BANNER",
"imageUrl": "https://s3.amazonaws.com/onebox-repository/pro/1/1/itemIdioma/1741/1_image_1340695930723.jpg",
"linkUrl": "http://www.website.com/channel_id"
}
]
},
"taxonomy": {
"@id": 68,
"code": "APRTEM",
"description": "Theme Parks",
"superior-taxonomy": {
"@id": 68,
"code": "APRTEM",
"description": "Theme Parks"
}
},
"custom-taxonomy": {
"@id": 68,
"code": "APRTEM",
"description": "Theme Parks"
},
"promoter-custom-taxonomy": {
"@id": 68,
"code": "APRTEM",
"description": "Theme Parks"
},
"languages": {
"language": [
"",
"ca_ES"
]
},
"dates": {
"datetime": [
{
"@type": "EVENT_BEGIN",
"@pendingConfirmation": false,
"@timeZoneId": "Europe/Berlin",
"$": "2018-01-07T19:00:00.000+01:00"
}
]
},
"entidad": {
"@id": 123,
"name": "Theme Park",
"nif": "A54343234",
"email": "info@theme.park",
"phoneNumber": "0034 555 55 55",
"timeZone": "Europe/Madrid",
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
}
},
"promotor": {
"@id": 475,
"corporateName": "Theme Park Entertainment SA.",
"fiscalCode": "A53776307",
"email": "info@theme.park",
"phoneNumber": "0034 555 55 55",
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
}
},
"tour": {
"@id": 475,
"name": "Theme Park",
"promotorReference": "Theme Park Entertainment SA."
},
"severalVenues": false,
"severalLocations": false,
"supraEvent": false,
"giftTicket": false,
"nominal": false,
"eventType": "EVENT",
"attribute-values": [
{
"attribute-info": {
"id": 0,
"name": "",
"selection": "SINGLE",
"domain-value-info": [
{
"idValue": 10,
"value": "oneboxtm",
"referenceCode": "OB"
}
],
"domain": "EVENT",
"valueType": "DOMAIN_VALUE",
"referenceCode": "Attr"
},
"attribute-value": [
{
"user-input-value": {},
"domain-value": {
"value": "``",
"idValue": 30
}
}
],
"idAttribute": 50,
"description": "DESCRIPTION"
}
],
"passbookPreferences": {
"communication-elements": {
"@language": "en_US",
"images": [
{
"@type": "LOGO_WEB",
"@order": 1,
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"videos": [
{
"@type": "VIDEO",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"files": [
{
"@type": "FILE",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"banners": [
{
"@type": "CHANNEL_PURCHASE_HEADER_BANNER",
"imageUrl": "https://s3.amazonaws.com/onebox-repository/pro/1/1/itemIdioma/1741/1_image_1340695930723.jpg",
"linkUrl": "http://www.website.com/channel_id"
}
]
}
},
"clientEventDiscount": {
"discountType": "AMOUNT"
}
},
"forSale": true,
"blockingReasons": "",
"hasProducts": false,
"admission": "ALL_AGES_ADMITTED",
"supportedEventType": "EVENT",
"supportedVisitorType": "INDIVIDUAL",
"attribute-values": [
{
"attribute-info": {
"id": 0,
"name": "",
"selection": "SINGLE",
"domain-value-info": [
{
"idValue": 10,
"value": "oneboxtm",
"referenceCode": "OB"
}
],
"domain": "EVENT",
"valueType": "DOMAIN_VALUE",
"referenceCode": "Attr"
},
"attribute-value": [
{
"user-input-value": {},
"domain-value": {
"value": "``",
"idValue": 30
}
}
],
"idAttribute": 50,
"description": "DESCRIPTION"
}
],
"visitorGroupConfig": "",
"hideSessionDates": false,
"showDate": false,
"showDatetime": false,
"@rates": "7 days 1 park UK/PAP17",
"season-session-info": {
"beginDate": "2015-09-01T12:00:00+01:00",
"endDate": "2015-10-01T12:00:00+01:00",
"idsSeasonSessions": [],
"seasonSessions": {
"@id": 5553432,
"internalName": "7 days 1 park",
"name": "7 days 1 park",
"description": "<P ALIGN=\\\"LEFT\\\">Six amazing worlds in just one Park, perfect for having fun in family and frends as well.</P>",
"dates": {
"datetime": [
{
"@type": "EVENT_BEGIN",
"@pendingConfirmation": false,
"@timeZoneId": "Europe/Berlin",
"$": "2018-01-07T19:00:00.000+01:00"
}
]
},
"venue": {
"@id": 432432,
"@name": "World Park",
"@timeZone": "Europe/Berlin",
"communication-elements": {
"@language": "en_US",
"images": [
{
"@type": "LOGO_WEB",
"@order": 1,
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"videos": [
{
"@type": "VIDEO",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"files": [
{
"@type": "FILE",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"banners": [
{
"@type": "CHANNEL_PURCHASE_HEADER_BANNER",
"imageUrl": "https://s3.amazonaws.com/onebox-repository/pro/1/1/itemIdioma/1741/1_image_1340695930723.jpg",
"linkUrl": "http://www.website.com/channel_id"
}
]
},
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
}
},
"space": {
"id": 150,
"name": "SPACE"
},
"event-basic-info": {
"@id": 23454,
"internalName": "7 days 1 park",
"externalReferenceCode": "EXT-123",
"title": "Theme Park",
"subtitle": "¡Discover the 6 worlds adrenaline!",
"shortDescription": "<P ALIGN=\\\"LEFT\\\">Six amazing worlds in just one Park, perfect for having fun in family and frends as well.</P>",
"longDescription": "<P ALIGN=\\\"LEFT\\\">Explore a whole world of fun and know our amazing theme parks. An ideal destination for a family getaway, located in one of the best tourist areas of Spain and just an hour from Barcelona! </ P> <BR/> <P ALIGN = \\ \"LEFT \\\"> The best entertainment, relaxation, gastronomy and shopping you can imagine. > A DESTINY AND SIX WORLDS TO DISCOVER </ P> <P ALIGN = \\ \"LEFT \\\"> Here begins a journey that takes you much further than you can imagine. At the Park we look forward to six fascinating worlds completely different, with a careful decoration to the last detail, so that you enjoy to the maximum. Emotions for all tastes. Families, friends, big and small: in our theme park, all the fun.</P>",
"additionalEventData": "",
"duration": "",
"communication-elements": {
"@language": "en_US",
"images": [
{
"@type": "LOGO_WEB",
"@order": 1,
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"videos": [
{
"@type": "VIDEO",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"files": [
{
"@type": "FILE",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"banners": [
{
"@type": "CHANNEL_PURCHASE_HEADER_BANNER",
"imageUrl": "https://s3.amazonaws.com/onebox-repository/pro/1/1/itemIdioma/1741/1_image_1340695930723.jpg",
"linkUrl": "http://www.website.com/channel_id"
}
]
},
"taxonomy": {
"@id": 68,
"code": "APRTEM",
"description": "Theme Parks",
"superior-taxonomy": {
"@id": 68,
"code": "APRTEM",
"description": "Theme Parks"
}
},
"custom-taxonomy": {
"@id": 68,
"code": "APRTEM",
"description": "Theme Parks"
},
"promoter-custom-taxonomy": {
"@id": 68,
"code": "APRTEM",
"description": "Theme Parks"
},
"languages": {
"language": [
"",
"ca_ES"
]
},
"dates": {
"datetime": [
{
"@type": "EVENT_BEGIN",
"@pendingConfirmation": false,
"@timeZoneId": "Europe/Berlin",
"$": "2018-01-07T19:00:00.000+01:00"
}
]
},
"entidad": {
"@id": 123,
"name": "Theme Park",
"nif": "A54343234",
"email": "info@theme.park",
"phoneNumber": "0034 555 55 55",
"timeZone": "Europe/Madrid",
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
}
},
"promotor": {
"@id": 475,
"corporateName": "Theme Park Entertainment SA.",
"fiscalCode": "A53776307",
"email": "info@theme.park",
"phoneNumber": "0034 555 55 55",
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
}
},
"tour": {
"@id": 475,
"name": "Theme Park",
"promotorReference": "Theme Park Entertainment SA."
},
"severalVenues": false,
"severalLocations": false,
"supraEvent": false,
"giftTicket": false,
"nominal": false,
"eventType": "EVENT",
"attribute-values": [
{
"attribute-info": {
"id": 0,
"name": "",
"selection": "SINGLE",
"domain-value-info": [
{
"idValue": 10,
"value": "oneboxtm",
"referenceCode": "OB"
}
],
"domain": "EVENT",
"valueType": "DOMAIN_VALUE",
"referenceCode": "Attr"
},
"attribute-value": [
{
"user-input-value": {},
"domain-value": {
"value": "``",
"idValue": 30
}
}
],
"idAttribute": 50,
"description": "DESCRIPTION"
}
],
"passbookPreferences": {
"communication-elements": {
"@language": "en_US",
"images": [
{
"@type": "LOGO_WEB",
"@order": 1,
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"videos": [
{
"@type": "VIDEO",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"files": [
{
"@type": "FILE",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"banners": [
{
"@type": "CHANNEL_PURCHASE_HEADER_BANNER",
"imageUrl": "https://s3.amazonaws.com/onebox-repository/pro/1/1/itemIdioma/1741/1_image_1340695930723.jpg",
"linkUrl": "http://www.website.com/channel_id"
}
]
}
},
"clientEventDiscount": {
"discountType": "AMOUNT"
}
},
"forSale": true,
"blockingReasons": "",
"hasProducts": false,
"admission": "ALL_AGES_ADMITTED",
"supportedEventType": "EVENT",
"supportedVisitorType": "INDIVIDUAL",
"attribute-values": [
{
"attribute-info": {
"id": 0,
"name": "",
"selection": "SINGLE",
"domain-value-info": [
{
"idValue": 10,
"value": "oneboxtm",
"referenceCode": "OB"
}
],
"domain": "EVENT",
"valueType": "DOMAIN_VALUE",
"referenceCode": "Attr"
},
"attribute-value": [
{
"user-input-value": {},
"domain-value": {
"value": "``",
"idValue": 30
}
}
],
"idAttribute": 50,
"description": "DESCRIPTION"
}
],
"visitorGroupConfig": "",
"hideSessionDates": false,
"showDate": false,
"showDatetime": false,
"@rates": "7 days 1 park UK/PAP17",
"season-session-info": {}
},
"@isSeasonSession": 0
}
},
"event-basic-info": {
"@id": 23454,
"internalName": "7 days 1 park",
"externalReferenceCode": "EXT-123",
"title": "Theme Park",
"subtitle": "¡Discover the 6 worlds adrenaline!",
"shortDescription": "<P ALIGN=\\\"LEFT\\\">Six amazing worlds in just one Park, perfect for having fun in family and frends as well.</P>",
"longDescription": "<P ALIGN=\\\"LEFT\\\">Explore a whole world of fun and know our amazing theme parks. An ideal destination for a family getaway, located in one of the best tourist areas of Spain and just an hour from Barcelona! </ P> <BR/> <P ALIGN = \\ \"LEFT \\\"> The best entertainment, relaxation, gastronomy and shopping you can imagine. > A DESTINY AND SIX WORLDS TO DISCOVER </ P> <P ALIGN = \\ \"LEFT \\\"> Here begins a journey that takes you much further than you can imagine. At the Park we look forward to six fascinating worlds completely different, with a careful decoration to the last detail, so that you enjoy to the maximum. Emotions for all tastes. Families, friends, big and small: in our theme park, all the fun.</P>",
"additionalEventData": "",
"duration": "",
"communication-elements": {
"@language": "en_US",
"images": [
{
"@type": "LOGO_WEB",
"@order": 1,
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"videos": [
{
"@type": "VIDEO",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"files": [
{
"@type": "FILE",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"banners": [
{
"@type": "CHANNEL_PURCHASE_HEADER_BANNER",
"imageUrl": "https://s3.amazonaws.com/onebox-repository/pro/1/1/itemIdioma/1741/1_image_1340695930723.jpg",
"linkUrl": "http://www.website.com/channel_id"
}
]
},
"taxonomy": {
"@id": 68,
"code": "APRTEM",
"description": "Theme Parks",
"superior-taxonomy": {
"@id": 68,
"code": "APRTEM",
"description": "Theme Parks"
}
},
"custom-taxonomy": {
"@id": 68,
"code": "APRTEM",
"description": "Theme Parks"
},
"promoter-custom-taxonomy": {
"@id": 68,
"code": "APRTEM",
"description": "Theme Parks"
},
"languages": {
"language": [
"",
"ca_ES"
]
},
"dates": {
"datetime": [
{
"@type": "EVENT_BEGIN",
"@pendingConfirmation": false,
"@timeZoneId": "Europe/Berlin",
"$": "2018-01-07T19:00:00.000+01:00"
}
]
},
"entidad": {
"@id": 123,
"name": "Theme Park",
"nif": "A54343234",
"email": "info@theme.park",
"phoneNumber": "0034 555 55 55",
"timeZone": "Europe/Madrid",
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
}
},
"promotor": {
"@id": 475,
"corporateName": "Theme Park Entertainment SA.",
"fiscalCode": "A53776307",
"email": "info@theme.park",
"phoneNumber": "0034 555 55 55",
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
}
},
"tour": {
"@id": 475,
"name": "Theme Park",
"promotorReference": "Theme Park Entertainment SA."
},
"severalVenues": false,
"severalLocations": false,
"supraEvent": false,
"giftTicket": false,
"nominal": false,
"eventType": "EVENT",
"attribute-values": [
{
"attribute-info": {
"id": 0,
"name": "",
"selection": "SINGLE",
"domain-value-info": [
{
"idValue": 10,
"value": "oneboxtm",
"referenceCode": "OB"
}
],
"domain": "EVENT",
"valueType": "DOMAIN_VALUE",
"referenceCode": "Attr"
},
"attribute-value": [
{
"user-input-value": {},
"domain-value": {
"value": "``",
"idValue": 30
}
}
],
"idAttribute": 50,
"description": "DESCRIPTION"
}
],
"passbookPreferences": {
"communication-elements": {
"@language": "en_US",
"images": [
{
"@type": "LOGO_WEB",
"@order": 1,
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"videos": [
{
"@type": "VIDEO",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"files": [
{
"@type": "FILE",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"banners": [
{
"@type": "CHANNEL_PURCHASE_HEADER_BANNER",
"imageUrl": "https://s3.amazonaws.com/onebox-repository/pro/1/1/itemIdioma/1741/1_image_1340695930723.jpg",
"linkUrl": "http://www.website.com/channel_id"
}
]
}
},
"clientEventDiscount": {
"discountType": "AMOUNT"
}
},
"automatic": "",
"promotion": {
"@id": 10,
"activator": "",
"promotionComElements": {
"name": "NAME",
"description": "DESCRIPTION"
}
},
"discount": {
"@id": 10,
"activator": "",
"promotionComElements": {
"name": "NAME",
"description": "DESCRIPTION"
}
},
"productAcquisitionType": "GENERAL"
},
"automatic-protmotion": {
"@id": 30,
"promotionComElements": {
"name": "NAME",
"description": "DESCRIPTION"
},
"type": "PERCENTAGE",
"value": 10,
"priceZonesIds": {
"priceZonesId": [
10,
12,
15
]
},
"group": {
"i@d": 30,
"name": "NAME",
"validationType": "CHANNEL",
"validationMethod": "PROMOTIONAL_CODE"
},
"limitedUses": false
},
"promotion": {
"@id": 30,
"promotionComElements": {
"name": "NAME",
"description": "DESCRIPTION"
},
"type": "PERCENTAGE",
"value": 10,
"priceZonesIds": {
"priceZonesId": [
10,
12,
15
]
},
"group": {
"i@d": 30,
"name": "NAME",
"validationType": "CHANNEL",
"validationMethod": "PROMOTIONAL_CODE"
},
"restrictions": {
"packItems": 0,
"maxItems": 0,
"minItems": 0
},
"mandatory": false,
"self-managed": false,
"limitedUses": false,
"dates": {
"datetime": [
{
"@type": "EVENT_BEGIN",
"@pendingConfirmation": false,
"@timeZoneId": "Europe/Berlin",
"$": "2018-01-07T19:00:00.000+01:00"
}
]
}
},
"promotionActivator": "",
"productId": 0,
"discount": {
"@id": 30,
"promotionComElements": {
"name": "NAME",
"description": "DESCRIPTION"
},
"type": "PERCENTAGE",
"value": 10,
"priceZonesIds": {
"priceZonesId": [
10,
12,
15
]
},
"group": {
"i@d": 30,
"name": "NAME",
"validationType": "CHANNEL",
"validationMethod": "PROMOTIONAL_CODE"
},
"restrictions": {
"packItems": 0,
"maxItems": 0,
"minItems": 0
},
"mandatory": false,
"self-managed": false,
"limitedUses": false,
"dates": {
"datetime": [
{
"@type": "EVENT_BEGIN",
"@pendingConfirmation": false,
"@timeZoneId": "Europe/Berlin",
"$": "2018-01-07T19:00:00.000+01:00"
}
]
}
},
"discountActivator'": "",
"price": "",
"operationsAllowed": {
"printInvoice": false
},
"attendant": {
"field": [
{
"@name": "",
"@value": ""
}
],
"clientDiscount": {
"@value": 0,
"type": "PERCENT"
},
"clientCommission": {
"@value": 0,
"type": "PERCENT"
}
},
"itemWarning": [
"",
"SESSION_NON_CONSECUTIVE_SEAT"
],
"modifyingBookingOrderCode": "",
"clientConiditions": {
"@id": 123
},
"@id": 0,
"@type": "TICKET"
}
}
],
"deliveryMethod": 0,
"deliveryCosts": 0,
"insurance": {
"@id": 123,
"name": "",
"description": "",
"privacyPolicy": "",
"termsOfUse": "",
"additionalData": ""
},
"visitorGroup": [
{
"@id": 123,
"name": "",
"numAttendants": 0,
"numAccompanists": 0,
"attribute-values": [
{
"attribute-info": {
"id": 0,
"name": "",
"selection": "SINGLE",
"domain-value-info": [
{
"idValue": 10,
"value": "oneboxtm",
"referenceCode": "OB"
}
],
"domain": "EVENT",
"valueType": "DOMAIN_VALUE",
"referenceCode": "Attr"
},
"attribute-value": [
{
"user-input-value": {},
"domain-value": {
"value": "``",
"idValue": 30
}
}
],
"idAttribute": 50,
"description": "DESCRIPTION"
}
]
}
],
"totalPriceBreakdown": {
"base-price": 10,
"automatic-promotion": 0,
"manual-promotion": 0,
"manual-discount": 0,
"client-discount": 0,
"client-comission": 0,
"charges": {
"charge": [
{
"@type": "CHANNEL_CHARGE",
"value 1.5": 0
}
]
},
"delivery-costs": 0,
"insurance": 0,
"taxes": {
"tax": [
{
"@id": 10,
"value": 0
}
]
},
"final-price": 20
},
"platformClient": {
"id": 123,
"name": "",
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
},
"clientB2B": {
"businessName": "",
"description": "",
"iataCode": "",
"taxId": "",
"tags": "",
"clientB2BBranch": {
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
},
"contactName": "",
"contactEmail": "",
"contactPhone": "",
"@main": false
},
"user": {
"@id": 123,
"name": "",
"email": "",
"username": ""
},
"@category": 0
},
"type": "B2B"
},
"@token": "",
"@currency": "",
"@timeleft": 0
}Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"client": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique customer identifier."
},
"name": {
"type": "string"
},
"lastname": {
"type": "string"
},
"$": {
"type": "string"
},
"email": {
"type": "string"
},
"receiptMail": {
"type": "string"
},
"ticketMail": {
"type": "string"
},
"phone": {
"type": "string"
},
"identification": {
"type": "object",
"properties": {
"value": {
"type": "string"
},
"@type": {
"type": "string"
}
},
"required": [
"value",
"@type"
]
},
"gender": {
"type": "string",
"enum": [
"NOT_DEFINED",
"MALE",
"FEMALE"
]
},
"location": {
"type": "object",
"properties": {
"address": {
"type": "string",
"description": "Venue address where the event will be performed."
},
"city": {
"type": "string",
"description": "City where the event will be performed."
},
"postalCode": {
"type": "string",
"description": "Postal code or zip code where the event will be performed."
},
"countrySubdivision": {
"type": "object",
"properties": {
"@code": {
"type": "string",
"description": "Item unique identifier."
},
"$": {
"type": "string",
"description": "Item value string."
}
},
"required": [
"@code",
"$"
],
"description": "`Country subdivision, this shall be the province, state or county. Ie: ES-T - Tarragona.`"
},
"country": {
"type": "object",
"properties": {
"@code": {
"type": "string",
"description": "Item unique identifier."
},
"$": {
"type": "string",
"description": "Item value string."
}
},
"required": [
"@code",
"$"
],
"description": "`Ie: ES - Spain.`"
},
"coordinates": {
"type": "string"
}
},
"required": [
"address",
"city",
"postalCode",
"countrySubdivision",
"country"
]
},
"idCard": {
"type": "string"
},
"docType": {
"type": "number"
},
"profile-data": {
"type": "object",
"properties": {
"@`profile-id`": {
"type": "number",
"description": "Unique profile data identifier."
},
"profile-field": {
"type": "array"
}
},
"required": [
"@`profile-id`"
]
},
"language": {
"type": "object",
"properties": {
"value": {
"type": "string"
},
"@code": {
"type": "string"
}
},
"required": [
"value",
"@code"
]
},
"groupValidation": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@idGroup": {
"type": "number",
"description": "Unique group validation identifier."
},
"user": {
"type": "string"
},
"promotionalCode": {
"type": "string"
},
"externalProperties": {
"type": "object",
"properties": {
"externalId": {
"type": "string"
}
}
}
},
"required": [
"@idGroup",
"user",
"promotionalCode"
]
}
},
"allowCommercialMailing": {
"type": "boolean"
}
},
"required": [
"@id",
"name",
"lastname",
"$",
"gender",
"location"
]
},
"shoppingCartItem": {
"type": "array"
},
"deliveryMethod": {
"type": "number"
},
"deliveryCosts": {
"type": "number"
},
"insurance": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique insurance identifier."
},
"name": {
"type": "string"
},
"description": {
"type": "string"
},
"privacyPolicy": {
"type": "string"
},
"termsOfUse": {
"type": "string"
},
"additionalData": {
"type": "string"
}
},
"required": [
"@id",
"name",
"description",
"privacyPolicy",
"termsOfUse",
"additionalData"
]
},
"visitorGroup": {
"type": "array"
},
"totalPriceBreakdown": {
"type": "object",
"properties": {
"base-price": {
"type": "number"
},
"automatic-promotion": {
"type": "number"
},
"manual-promotion": {
"type": "number"
},
"manual-discount": {
"type": "number"
},
"client-discount": {
"type": "number"
},
"client-comission": {
"type": "number"
},
"charges": {
"type": "object",
"properties": {
"charge": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"enum": [
"CHANNEL_CHARGE",
"PROMOTER_CHARGE",
"PROMOTER_CHANNEL_CHARGE"
]
},
"value 1.5": {
"type": "number",
"description": "Value of the charge."
}
},
"required": [
"value 1.5"
]
}
}
},
"required": [
"charge"
]
},
"delivery-costs": {
"type": "number"
},
"insurance": {
"type": "number"
},
"taxes": {
"type": "object",
"properties": {
"tax": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique product identifier."
},
"value": {
"type": "number"
}
},
"required": [
"@id",
"value"
]
}
}
},
"required": [
"tax"
]
},
"final-price": {
"type": "number"
}
},
"required": [
"base-price",
"final-price"
]
},
"platformClient": {
"type": "object",
"properties": {
"id": {
"type": "number",
"description": "Unique platform client identifier."
},
"name": {
"type": "string"
},
"location": {
"type": "object",
"properties": {
"address": {
"type": "string",
"description": "Venue address where the event will be performed."
},
"city": {
"type": "string",
"description": "City where the event will be performed."
},
"postalCode": {
"type": "string",
"description": "Postal code or zip code where the event will be performed."
},
"countrySubdivision": {
"type": "object",
"properties": {
"@code": {
"type": "string",
"description": "Item unique identifier."
},
"$": {
"type": "string",
"description": "Item value string."
}
},
"required": [
"@code",
"$"
],
"description": "`Country subdivision, this shall be the province, state or county. Ie: ES-T - Tarragona.`"
},
"country": {
"type": "object",
"properties": {
"@code": {
"type": "string",
"description": "Item unique identifier."
},
"$": {
"type": "string",
"description": "Item value string."
}
},
"required": [
"@code",
"$"
],
"description": "`Ie: ES - Spain.`"
},
"coordinates": {
"type": "string"
}
},
"required": [
"address",
"city",
"postalCode",
"countrySubdivision",
"country"
]
},
"clientB2B": {
"type": "object",
"properties": {
"businessName": {
"type": "string"
},
"description": {
"type": "string"
},
"iataCode": {
"type": "string"
},
"taxId": {
"type": "string"
},
"tags": {
"type": "string"
},
"clientB2BBranch": {
"type": "object",
"properties": {
"location": {
"type": "object",
"properties": {
"address": {
"type": "string",
"description": "Venue address where the event will be performed."
},
"city": {
"type": "string",
"description": "City where the event will be performed."
},
"postalCode": {
"type": "string",
"description": "Postal code or zip code where the event will be performed."
},
"countrySubdivision": {
"type": "object",
"properties": {
"@code": {
"type": "string",
"description": "Item unique identifier."
},
"$": {
"type": "string",
"description": "Item value string."
}
},
"required": [
"@code",
"$"
],
"description": "`Country subdivision, this shall be the province, state or county. Ie: ES-T - Tarragona.`"
},
"country": {
"type": "object",
"properties": {
"@code": {
"type": "string",
"description": "Item unique identifier."
},
"$": {
"type": "string",
"description": "Item value string."
}
},
"required": [
"@code",
"$"
],
"description": "`Ie: ES - Spain.`"
},
"coordinates": {
"type": "string"
}
},
"required": [
"address",
"city",
"postalCode",
"countrySubdivision",
"country"
]
},
"contactName": {
"type": "string"
},
"contactEmail": {
"type": "string"
},
"contactPhone": {
"type": "string"
},
"@main": {
"type": "boolean"
}
},
"required": [
"location",
"contactName",
"contactEmail",
"contactPhone",
"@main"
]
},
"user": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique user identifier."
},
"name": {
"type": "string"
},
"email": {
"type": "string"
},
"username": {
"type": "string"
}
},
"required": [
"@id",
"name",
"email",
"username"
]
},
"@category": {
"type": "number"
}
},
"required": [
"businessName",
"description",
"iataCode",
"taxId",
"tags",
"clientB2BBranch",
"user"
]
},
"type": {
"type": "string",
"enum": [
"B2B",
"B2C"
]
}
},
"required": [
"id",
"name"
]
},
"@token": {
"type": "string"
},
"@currency": {
"type": "string"
},
"@timeleft": {
"type": "number"
}
},
"required": [
"client",
"shoppingCartItem",
"visitorGroup",
"totalPriceBreakdown",
"platformClient",
"@token",
"@currency",
"@timeleft"
]
}Headers
Content-Type: application/json;charset=UTF-8Body
{
"error": "Bad request",
"error_description": "There was a syntax error, check your params request and try it again."
}Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"error": {
"type": "string",
"description": "Short http error code description"
},
"error_description": {
"type": "string",
"description": "Detailed description of the error returned."
}
},
"required": [
"error",
"error_description"
]
}Headers
Content-Type: application/json;charset=UTF-8Body
{
"error": "Unauthorized",
"error_description": "Full authentication is required to access this resource"
}Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"error": {
"type": "string",
"description": "Short http error code description."
},
"error_description": {
"type": "string",
"description": "Detailed description of the error returned."
}
},
"required": [
"error",
"error_description"
]
}Headers
Content-Type: application/json;charset=UTF-8Body
{
"statusCode": 1010,
"responseTime": "08-03-2017 13:46:03.657"
}Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"statusCode": {
"type": "number",
"description": "This is the Onebox error codes. Get the full list here: [go to Onebox error responses](http://developer.oneboxtickets.com/httpresponsecodes.html)"
},
"responseTime": {
"type": "string"
}
},
"required": [
"statusCode",
"responseTime"
]
}Apply a discountPOST/shoppingCart/addDiscount{?discount,items,token,forceLimits,totalCharges}
Use this service to apply a discount to one or more seats. Take into account a discount would need a minimum number of seats to be appliable.
- discount
DiscountType(required) Example: discount- items
array[number](required) Example: 10, 12, 15- token
string(required) Example: 188a5cf2a844e684375172cb1cf2bbf3- forceLimits
boolean(optional) Example: false- totalCharges
number(optional) Example: 120
Promotions ¶
Headers
Authorization: Bearer [ACCESS_TOKEN]
Content-Type: application/json
Accept: application/json- Headers
traceID:
String: Unique id to identify the transaction within the Onebox API audit systemOB_Error_Code:Number: This is the Onebox error codes. Get the full list here: [go to Onebox error responses](http://developer.oneboxtickets.com/httpresponsecodes.html)
Headers
Content-Type: application/json;charset=UTF-8Body
{
"client": {
"@id": 123,
"name": "First name",
"lastname": "Last name",
"$": "1970-01-01",
"email": "email@domain.com",
"receiptMail": "email@domain.com",
"ticketMail": "email@domain.com",
"phone": "0034 555 55 55",
"identification": {
"value": "",
"@type": ""
},
"gender": "NOT_DEFINED",
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
},
"profile-data": {
"@`profile-id`": 123,
"profile-field": [
{
"@`field-id`": 123,
"idValue": [],
"user-input-value": []
}
]
},
"language": {
"value": "",
"@code": ""
},
"groupValidation": [
{
"@idGroup": 123,
"user": "",
"promotionalCode": "",
"externalProperties": {}
}
]
},
"shoppingCartItem": [
{
"shopping-cart-item": {
"ticket-data": {},
"product-data": {
"venue": {
"@id": 432432,
"@name": "World Park",
"@timeZone": "Europe/Berlin",
"communication-elements": {
"@language": "en_US",
"images": [
{
"@type": "LOGO_WEB",
"@order": 1,
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"videos": [
{
"@type": "VIDEO",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"files": [
{
"@type": "FILE",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"banners": [
{
"@type": "CHANNEL_PURCHASE_HEADER_BANNER",
"imageUrl": "https://s3.amazonaws.com/onebox-repository/pro/1/1/itemIdioma/1741/1_image_1340695930723.jpg",
"linkUrl": "http://www.website.com/channel_id"
}
]
},
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
}
},
"product-info": {
"@id": 10,
"internalName": "",
"name": "",
"dates": {
"datetime": [
{
"@type": "EVENT_BEGIN",
"@pendingConfirmation": false,
"@timeZoneId": "Europe/Berlin",
"$": "2018-01-07T19:00:00.000+01:00"
}
]
},
"venue": {
"@id": 432432,
"@name": "World Park",
"@timeZone": "Europe/Berlin",
"communication-elements": {
"@language": "en_US",
"images": [
{
"@type": "LOGO_WEB",
"@order": 1,
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"videos": [
{
"@type": "VIDEO",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"files": [
{
"@type": "FILE",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"banners": [
{
"@type": "CHANNEL_PURCHASE_HEADER_BANNER",
"imageUrl": "https://s3.amazonaws.com/onebox-repository/pro/1/1/itemIdioma/1741/1_image_1340695930723.jpg",
"linkUrl": "http://www.website.com/channel_id"
}
]
},
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
}
},
"catalog-info": {
"entityId": 0,
"name": ""
},
"attributes": {
"attribute": [
{
"@id": 10,
"name": ""
}
]
},
"product-image": [],
"forSale": false,
"bookable": false,
"product-variant": [
{
"id": 10,
"sku": "",
"price-breakdown": {
"base-price": 10,
"automatic-promotion": 0,
"manual-promotion": 0,
"manual-discount": 0,
"client-discount": 0,
"client-comission": 0,
"charges": {
"charge": [
{
"@type": "CHANNEL_CHARGE",
"value 1.5": 0
}
]
},
"delivery-costs": 0,
"insurance": 0,
"taxes": {
"tax": [
{
"@id": 10,
"value": 0
}
]
},
"final-price": 20
},
"limited-stock": false,
"variant-availability": 0,
"variant-attributes": {
"variant-attribute": [
{
"attribute": {
"@id": 10,
"name": ""
},
"value": ""
}
]
},
"venue": {
"@id": 432432,
"@name": "World Park",
"@timeZone": "Europe/Berlin",
"communication-elements": {
"@language": "en_US",
"images": [
{
"@type": "LOGO_WEB",
"@order": 1,
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"videos": [
{
"@type": "VIDEO",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"files": [
{
"@type": "FILE",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"banners": [
{
"@type": "CHANNEL_PURCHASE_HEADER_BANNER",
"imageUrl": "https://s3.amazonaws.com/onebox-repository/pro/1/1/itemIdioma/1741/1_image_1340695930723.jpg",
"linkUrl": "http://www.website.com/channel_id"
}
]
},
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
}
},
"catalog-info": {
"entityId": 0,
"name": ""
},
"product-info": {
"@id": 10,
"internalName": "",
"name": "",
"dates": {
"datetime": [
{
"@type": "EVENT_BEGIN",
"@pendingConfirmation": false,
"@timeZoneId": "Europe/Berlin",
"$": "2018-01-07T19:00:00.000+01:00"
}
]
},
"venue": {
"@id": 432432,
"@name": "World Park",
"@timeZone": "Europe/Berlin",
"communication-elements": {
"@language": "en_US",
"images": [
{
"@type": "LOGO_WEB",
"@order": 1,
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"videos": [
{
"@type": "VIDEO",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"files": [
{
"@type": "FILE",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"banners": [
{
"@type": "CHANNEL_PURCHASE_HEADER_BANNER",
"imageUrl": "https://s3.amazonaws.com/onebox-repository/pro/1/1/itemIdioma/1741/1_image_1340695930723.jpg",
"linkUrl": "http://www.website.com/channel_id"
}
]
},
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
}
},
"catalog-info": {
"entityId": 0,
"name": ""
},
"attributes": {
"attribute": [
{
"@id": 10,
"name": ""
}
]
},
"product-image": [],
"forSale": false,
"bookable": false,
"product-variant": []
}
}
]
},
"variant-attributes": {
"variant-attribute": [
{
"attribute": {
"@id": 10,
"name": ""
},
"value": ""
}
]
},
"printouts": 0,
"cancellations": 0,
"status": "PURCHASED",
"sku": "",
"customer": {
"@id": 123,
"name": "First name",
"lastname": "Last name",
"$": "1970-01-01",
"email": "email@domain.com",
"receiptMail": "email@domain.com",
"ticketMail": "email@domain.com",
"phone": "0034 555 55 55",
"identification": {
"value": "",
"@type": ""
},
"gender": "NOT_DEFINED",
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
},
"profile-data": {
"@`profile-id`": 123,
"profile-field": [
{
"@`field-id`": 123,
"idValue": [],
"user-input-value": []
}
]
},
"language": {
"value": "",
"@code": ""
},
"groupValidation": [
{
"@idGroup": 123,
"user": "",
"promotionalCode": "",
"externalProperties": {}
}
]
},
"session-basic-info": {
"@id": 5553432,
"internalName": "7 days 1 park",
"name": "7 days 1 park",
"description": "<P ALIGN=\\\"LEFT\\\">Six amazing worlds in just one Park, perfect for having fun in family and frends as well.</P>",
"dates": {
"datetime": [
{
"@type": "EVENT_BEGIN",
"@pendingConfirmation": false,
"@timeZoneId": "Europe/Berlin",
"$": "2018-01-07T19:00:00.000+01:00"
}
]
},
"venue": {
"@id": 432432,
"@name": "World Park",
"@timeZone": "Europe/Berlin",
"communication-elements": {
"@language": "en_US",
"images": [
{
"@type": "LOGO_WEB",
"@order": 1,
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"videos": [
{
"@type": "VIDEO",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"files": [
{
"@type": "FILE",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"banners": [
{
"@type": "CHANNEL_PURCHASE_HEADER_BANNER",
"imageUrl": "https://s3.amazonaws.com/onebox-repository/pro/1/1/itemIdioma/1741/1_image_1340695930723.jpg",
"linkUrl": "http://www.website.com/channel_id"
}
]
},
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
}
},
"space": {
"id": 150,
"name": "SPACE"
},
"event-basic-info": {
"@id": 23454,
"internalName": "7 days 1 park",
"externalReferenceCode": "EXT-123",
"title": "Theme Park",
"subtitle": "¡Discover the 6 worlds adrenaline!",
"shortDescription": "<P ALIGN=\\\"LEFT\\\">Six amazing worlds in just one Park, perfect for having fun in family and frends as well.</P>",
"longDescription": "<P ALIGN=\\\"LEFT\\\">Explore a whole world of fun and know our amazing theme parks. An ideal destination for a family getaway, located in one of the best tourist areas of Spain and just an hour from Barcelona! </ P> <BR/> <P ALIGN = \\ \"LEFT \\\"> The best entertainment, relaxation, gastronomy and shopping you can imagine. > A DESTINY AND SIX WORLDS TO DISCOVER </ P> <P ALIGN = \\ \"LEFT \\\"> Here begins a journey that takes you much further than you can imagine. At the Park we look forward to six fascinating worlds completely different, with a careful decoration to the last detail, so that you enjoy to the maximum. Emotions for all tastes. Families, friends, big and small: in our theme park, all the fun.</P>",
"additionalEventData": "",
"duration": "",
"communication-elements": {
"@language": "en_US",
"images": [
{
"@type": "LOGO_WEB",
"@order": 1,
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"videos": [
{
"@type": "VIDEO",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"files": [
{
"@type": "FILE",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"banners": [
{
"@type": "CHANNEL_PURCHASE_HEADER_BANNER",
"imageUrl": "https://s3.amazonaws.com/onebox-repository/pro/1/1/itemIdioma/1741/1_image_1340695930723.jpg",
"linkUrl": "http://www.website.com/channel_id"
}
]
},
"taxonomy": {
"@id": 68,
"code": "APRTEM",
"description": "Theme Parks",
"superior-taxonomy": {
"@id": 68,
"code": "APRTEM",
"description": "Theme Parks"
}
},
"custom-taxonomy": {
"@id": 68,
"code": "APRTEM",
"description": "Theme Parks"
},
"promoter-custom-taxonomy": {
"@id": 68,
"code": "APRTEM",
"description": "Theme Parks"
},
"languages": {
"language": [
"",
"ca_ES"
]
},
"dates": {
"datetime": [
{
"@type": "EVENT_BEGIN",
"@pendingConfirmation": false,
"@timeZoneId": "Europe/Berlin",
"$": "2018-01-07T19:00:00.000+01:00"
}
]
},
"entidad": {
"@id": 123,
"name": "Theme Park",
"nif": "A54343234",
"email": "info@theme.park",
"phoneNumber": "0034 555 55 55",
"timeZone": "Europe/Madrid",
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
}
},
"promotor": {
"@id": 475,
"corporateName": "Theme Park Entertainment SA.",
"fiscalCode": "A53776307",
"email": "info@theme.park",
"phoneNumber": "0034 555 55 55",
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
}
},
"tour": {
"@id": 475,
"name": "Theme Park",
"promotorReference": "Theme Park Entertainment SA."
},
"severalVenues": false,
"severalLocations": false,
"supraEvent": false,
"giftTicket": false,
"nominal": false,
"eventType": "EVENT",
"attribute-values": [
{
"attribute-info": {
"id": 0,
"name": "",
"selection": "SINGLE",
"domain-value-info": [
{
"idValue": 10,
"value": "oneboxtm",
"referenceCode": "OB"
}
],
"domain": "EVENT",
"valueType": "DOMAIN_VALUE",
"referenceCode": "Attr"
},
"attribute-value": [
{
"user-input-value": {},
"domain-value": {
"value": "``",
"idValue": 30
}
}
],
"idAttribute": 50,
"description": "DESCRIPTION"
}
],
"passbookPreferences": {
"communication-elements": {
"@language": "en_US",
"images": [
{
"@type": "LOGO_WEB",
"@order": 1,
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"videos": [
{
"@type": "VIDEO",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"files": [
{
"@type": "FILE",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"banners": [
{
"@type": "CHANNEL_PURCHASE_HEADER_BANNER",
"imageUrl": "https://s3.amazonaws.com/onebox-repository/pro/1/1/itemIdioma/1741/1_image_1340695930723.jpg",
"linkUrl": "http://www.website.com/channel_id"
}
]
}
},
"clientEventDiscount": {
"discountType": "AMOUNT"
}
},
"forSale": true,
"blockingReasons": "",
"hasProducts": false,
"admission": "ALL_AGES_ADMITTED",
"supportedEventType": "EVENT",
"supportedVisitorType": "INDIVIDUAL",
"attribute-values": [
{
"attribute-info": {
"id": 0,
"name": "",
"selection": "SINGLE",
"domain-value-info": [
{
"idValue": 10,
"value": "oneboxtm",
"referenceCode": "OB"
}
],
"domain": "EVENT",
"valueType": "DOMAIN_VALUE",
"referenceCode": "Attr"
},
"attribute-value": [
{
"user-input-value": {},
"domain-value": {
"value": "``",
"idValue": 30
}
}
],
"idAttribute": 50,
"description": "DESCRIPTION"
}
],
"visitorGroupConfig": "",
"hideSessionDates": false,
"showDate": false,
"showDatetime": false,
"@rates": "7 days 1 park UK/PAP17",
"season-session-info": {
"beginDate": "2015-09-01T12:00:00+01:00",
"endDate": "2015-10-01T12:00:00+01:00",
"idsSeasonSessions": [],
"seasonSessions": {
"@id": 5553432,
"internalName": "7 days 1 park",
"name": "7 days 1 park",
"description": "<P ALIGN=\\\"LEFT\\\">Six amazing worlds in just one Park, perfect for having fun in family and frends as well.</P>",
"dates": {
"datetime": [
{
"@type": "EVENT_BEGIN",
"@pendingConfirmation": false,
"@timeZoneId": "Europe/Berlin",
"$": "2018-01-07T19:00:00.000+01:00"
}
]
},
"venue": {
"@id": 432432,
"@name": "World Park",
"@timeZone": "Europe/Berlin",
"communication-elements": {
"@language": "en_US",
"images": [
{
"@type": "LOGO_WEB",
"@order": 1,
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"videos": [
{
"@type": "VIDEO",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"files": [
{
"@type": "FILE",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"banners": [
{
"@type": "CHANNEL_PURCHASE_HEADER_BANNER",
"imageUrl": "https://s3.amazonaws.com/onebox-repository/pro/1/1/itemIdioma/1741/1_image_1340695930723.jpg",
"linkUrl": "http://www.website.com/channel_id"
}
]
},
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
}
},
"space": {
"id": 150,
"name": "SPACE"
},
"event-basic-info": {
"@id": 23454,
"internalName": "7 days 1 park",
"externalReferenceCode": "EXT-123",
"title": "Theme Park",
"subtitle": "¡Discover the 6 worlds adrenaline!",
"shortDescription": "<P ALIGN=\\\"LEFT\\\">Six amazing worlds in just one Park, perfect for having fun in family and frends as well.</P>",
"longDescription": "<P ALIGN=\\\"LEFT\\\">Explore a whole world of fun and know our amazing theme parks. An ideal destination for a family getaway, located in one of the best tourist areas of Spain and just an hour from Barcelona! </ P> <BR/> <P ALIGN = \\ \"LEFT \\\"> The best entertainment, relaxation, gastronomy and shopping you can imagine. > A DESTINY AND SIX WORLDS TO DISCOVER </ P> <P ALIGN = \\ \"LEFT \\\"> Here begins a journey that takes you much further than you can imagine. At the Park we look forward to six fascinating worlds completely different, with a careful decoration to the last detail, so that you enjoy to the maximum. Emotions for all tastes. Families, friends, big and small: in our theme park, all the fun.</P>",
"additionalEventData": "",
"duration": "",
"communication-elements": {
"@language": "en_US",
"images": [
{
"@type": "LOGO_WEB",
"@order": 1,
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"videos": [
{
"@type": "VIDEO",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"files": [
{
"@type": "FILE",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"banners": [
{
"@type": "CHANNEL_PURCHASE_HEADER_BANNER",
"imageUrl": "https://s3.amazonaws.com/onebox-repository/pro/1/1/itemIdioma/1741/1_image_1340695930723.jpg",
"linkUrl": "http://www.website.com/channel_id"
}
]
},
"taxonomy": {
"@id": 68,
"code": "APRTEM",
"description": "Theme Parks",
"superior-taxonomy": {
"@id": 68,
"code": "APRTEM",
"description": "Theme Parks"
}
},
"custom-taxonomy": {
"@id": 68,
"code": "APRTEM",
"description": "Theme Parks"
},
"promoter-custom-taxonomy": {
"@id": 68,
"code": "APRTEM",
"description": "Theme Parks"
},
"languages": {
"language": [
"",
"ca_ES"
]
},
"dates": {
"datetime": [
{
"@type": "EVENT_BEGIN",
"@pendingConfirmation": false,
"@timeZoneId": "Europe/Berlin",
"$": "2018-01-07T19:00:00.000+01:00"
}
]
},
"entidad": {
"@id": 123,
"name": "Theme Park",
"nif": "A54343234",
"email": "info@theme.park",
"phoneNumber": "0034 555 55 55",
"timeZone": "Europe/Madrid",
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
}
},
"promotor": {
"@id": 475,
"corporateName": "Theme Park Entertainment SA.",
"fiscalCode": "A53776307",
"email": "info@theme.park",
"phoneNumber": "0034 555 55 55",
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
}
},
"tour": {
"@id": 475,
"name": "Theme Park",
"promotorReference": "Theme Park Entertainment SA."
},
"severalVenues": false,
"severalLocations": false,
"supraEvent": false,
"giftTicket": false,
"nominal": false,
"eventType": "EVENT",
"attribute-values": [
{
"attribute-info": {
"id": 0,
"name": "",
"selection": "SINGLE",
"domain-value-info": [
{
"idValue": 10,
"value": "oneboxtm",
"referenceCode": "OB"
}
],
"domain": "EVENT",
"valueType": "DOMAIN_VALUE",
"referenceCode": "Attr"
},
"attribute-value": [
{
"user-input-value": {},
"domain-value": {
"value": "``",
"idValue": 30
}
}
],
"idAttribute": 50,
"description": "DESCRIPTION"
}
],
"passbookPreferences": {
"communication-elements": {
"@language": "en_US",
"images": [
{
"@type": "LOGO_WEB",
"@order": 1,
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"videos": [
{
"@type": "VIDEO",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"files": [
{
"@type": "FILE",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"banners": [
{
"@type": "CHANNEL_PURCHASE_HEADER_BANNER",
"imageUrl": "https://s3.amazonaws.com/onebox-repository/pro/1/1/itemIdioma/1741/1_image_1340695930723.jpg",
"linkUrl": "http://www.website.com/channel_id"
}
]
}
},
"clientEventDiscount": {
"discountType": "AMOUNT"
}
},
"forSale": true,
"blockingReasons": "",
"hasProducts": false,
"admission": "ALL_AGES_ADMITTED",
"supportedEventType": "EVENT",
"supportedVisitorType": "INDIVIDUAL",
"attribute-values": [
{
"attribute-info": {
"id": 0,
"name": "",
"selection": "SINGLE",
"domain-value-info": [
{
"idValue": 10,
"value": "oneboxtm",
"referenceCode": "OB"
}
],
"domain": "EVENT",
"valueType": "DOMAIN_VALUE",
"referenceCode": "Attr"
},
"attribute-value": [
{
"user-input-value": {},
"domain-value": {
"value": "``",
"idValue": 30
}
}
],
"idAttribute": 50,
"description": "DESCRIPTION"
}
],
"visitorGroupConfig": "",
"hideSessionDates": false,
"showDate": false,
"showDatetime": false,
"@rates": "7 days 1 park UK/PAP17",
"season-session-info": {}
},
"@isSeasonSession": 0
}
},
"event-basic-info": {
"@id": 23454,
"internalName": "7 days 1 park",
"externalReferenceCode": "EXT-123",
"title": "Theme Park",
"subtitle": "¡Discover the 6 worlds adrenaline!",
"shortDescription": "<P ALIGN=\\\"LEFT\\\">Six amazing worlds in just one Park, perfect for having fun in family and frends as well.</P>",
"longDescription": "<P ALIGN=\\\"LEFT\\\">Explore a whole world of fun and know our amazing theme parks. An ideal destination for a family getaway, located in one of the best tourist areas of Spain and just an hour from Barcelona! </ P> <BR/> <P ALIGN = \\ \"LEFT \\\"> The best entertainment, relaxation, gastronomy and shopping you can imagine. > A DESTINY AND SIX WORLDS TO DISCOVER </ P> <P ALIGN = \\ \"LEFT \\\"> Here begins a journey that takes you much further than you can imagine. At the Park we look forward to six fascinating worlds completely different, with a careful decoration to the last detail, so that you enjoy to the maximum. Emotions for all tastes. Families, friends, big and small: in our theme park, all the fun.</P>",
"additionalEventData": "",
"duration": "",
"communication-elements": {
"@language": "en_US",
"images": [
{
"@type": "LOGO_WEB",
"@order": 1,
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"videos": [
{
"@type": "VIDEO",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"files": [
{
"@type": "FILE",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"banners": [
{
"@type": "CHANNEL_PURCHASE_HEADER_BANNER",
"imageUrl": "https://s3.amazonaws.com/onebox-repository/pro/1/1/itemIdioma/1741/1_image_1340695930723.jpg",
"linkUrl": "http://www.website.com/channel_id"
}
]
},
"taxonomy": {
"@id": 68,
"code": "APRTEM",
"description": "Theme Parks",
"superior-taxonomy": {
"@id": 68,
"code": "APRTEM",
"description": "Theme Parks"
}
},
"custom-taxonomy": {
"@id": 68,
"code": "APRTEM",
"description": "Theme Parks"
},
"promoter-custom-taxonomy": {
"@id": 68,
"code": "APRTEM",
"description": "Theme Parks"
},
"languages": {
"language": [
"",
"ca_ES"
]
},
"dates": {
"datetime": [
{
"@type": "EVENT_BEGIN",
"@pendingConfirmation": false,
"@timeZoneId": "Europe/Berlin",
"$": "2018-01-07T19:00:00.000+01:00"
}
]
},
"entidad": {
"@id": 123,
"name": "Theme Park",
"nif": "A54343234",
"email": "info@theme.park",
"phoneNumber": "0034 555 55 55",
"timeZone": "Europe/Madrid",
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
}
},
"promotor": {
"@id": 475,
"corporateName": "Theme Park Entertainment SA.",
"fiscalCode": "A53776307",
"email": "info@theme.park",
"phoneNumber": "0034 555 55 55",
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
}
},
"tour": {
"@id": 475,
"name": "Theme Park",
"promotorReference": "Theme Park Entertainment SA."
},
"severalVenues": false,
"severalLocations": false,
"supraEvent": false,
"giftTicket": false,
"nominal": false,
"eventType": "EVENT",
"attribute-values": [
{
"attribute-info": {
"id": 0,
"name": "",
"selection": "SINGLE",
"domain-value-info": [
{
"idValue": 10,
"value": "oneboxtm",
"referenceCode": "OB"
}
],
"domain": "EVENT",
"valueType": "DOMAIN_VALUE",
"referenceCode": "Attr"
},
"attribute-value": [
{
"user-input-value": {},
"domain-value": {
"value": "``",
"idValue": 30
}
}
],
"idAttribute": 50,
"description": "DESCRIPTION"
}
],
"passbookPreferences": {
"communication-elements": {
"@language": "en_US",
"images": [
{
"@type": "LOGO_WEB",
"@order": 1,
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"videos": [
{
"@type": "VIDEO",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"files": [
{
"@type": "FILE",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"banners": [
{
"@type": "CHANNEL_PURCHASE_HEADER_BANNER",
"imageUrl": "https://s3.amazonaws.com/onebox-repository/pro/1/1/itemIdioma/1741/1_image_1340695930723.jpg",
"linkUrl": "http://www.website.com/channel_id"
}
]
}
},
"clientEventDiscount": {
"discountType": "AMOUNT"
}
},
"automatic": "",
"promotion": {
"@id": 10,
"activator": "",
"promotionComElements": {
"name": "NAME",
"description": "DESCRIPTION"
}
},
"discount": {
"@id": 10,
"activator": "",
"promotionComElements": {
"name": "NAME",
"description": "DESCRIPTION"
}
},
"productAcquisitionType": "GENERAL"
},
"automatic-protmotion": {
"@id": 30,
"promotionComElements": {
"name": "NAME",
"description": "DESCRIPTION"
},
"type": "PERCENTAGE",
"value": 10,
"priceZonesIds": {
"priceZonesId": [
10,
12,
15
]
},
"group": {
"i@d": 30,
"name": "NAME",
"validationType": "CHANNEL",
"validationMethod": "PROMOTIONAL_CODE"
},
"limitedUses": false
},
"promotion": {
"@id": 30,
"promotionComElements": {
"name": "NAME",
"description": "DESCRIPTION"
},
"type": "PERCENTAGE",
"value": 10,
"priceZonesIds": {
"priceZonesId": [
10,
12,
15
]
},
"group": {
"i@d": 30,
"name": "NAME",
"validationType": "CHANNEL",
"validationMethod": "PROMOTIONAL_CODE"
},
"restrictions": {
"packItems": 0,
"maxItems": 0,
"minItems": 0
},
"mandatory": false,
"self-managed": false,
"limitedUses": false,
"dates": {
"datetime": [
{
"@type": "EVENT_BEGIN",
"@pendingConfirmation": false,
"@timeZoneId": "Europe/Berlin",
"$": "2018-01-07T19:00:00.000+01:00"
}
]
}
},
"promotionActivator": "",
"productId": 0,
"discount": {
"@id": 30,
"promotionComElements": {
"name": "NAME",
"description": "DESCRIPTION"
},
"type": "PERCENTAGE",
"value": 10,
"priceZonesIds": {
"priceZonesId": [
10,
12,
15
]
},
"group": {
"i@d": 30,
"name": "NAME",
"validationType": "CHANNEL",
"validationMethod": "PROMOTIONAL_CODE"
},
"restrictions": {
"packItems": 0,
"maxItems": 0,
"minItems": 0
},
"mandatory": false,
"self-managed": false,
"limitedUses": false,
"dates": {
"datetime": [
{
"@type": "EVENT_BEGIN",
"@pendingConfirmation": false,
"@timeZoneId": "Europe/Berlin",
"$": "2018-01-07T19:00:00.000+01:00"
}
]
}
},
"discountActivator'": "",
"price": "",
"operationsAllowed": {
"printInvoice": false
},
"attendant": {
"field": [
{
"@name": "",
"@value": ""
}
],
"clientDiscount": {
"@value": 0,
"type": "PERCENT"
},
"clientCommission": {
"@value": 0,
"type": "PERCENT"
}
},
"itemWarning": [
"",
"SESSION_NON_CONSECUTIVE_SEAT"
],
"modifyingBookingOrderCode": "",
"clientConiditions": {
"@id": 123
},
"@id": 0,
"@type": "TICKET"
}
}
],
"deliveryMethod": 0,
"deliveryCosts": 0,
"insurance": {
"@id": 123,
"name": "",
"description": "",
"privacyPolicy": "",
"termsOfUse": "",
"additionalData": ""
},
"visitorGroup": [
{
"@id": 123,
"name": "",
"numAttendants": 0,
"numAccompanists": 0,
"attribute-values": [
{
"attribute-info": {
"id": 0,
"name": "",
"selection": "SINGLE",
"domain-value-info": [
{
"idValue": 10,
"value": "oneboxtm",
"referenceCode": "OB"
}
],
"domain": "EVENT",
"valueType": "DOMAIN_VALUE",
"referenceCode": "Attr"
},
"attribute-value": [
{
"user-input-value": {},
"domain-value": {
"value": "``",
"idValue": 30
}
}
],
"idAttribute": 50,
"description": "DESCRIPTION"
}
]
}
],
"totalPriceBreakdown": {
"base-price": 10,
"automatic-promotion": 0,
"manual-promotion": 0,
"manual-discount": 0,
"client-discount": 0,
"client-comission": 0,
"charges": {
"charge": [
{
"@type": "CHANNEL_CHARGE",
"value 1.5": 0
}
]
},
"delivery-costs": 0,
"insurance": 0,
"taxes": {
"tax": [
{
"@id": 10,
"value": 0
}
]
},
"final-price": 20
},
"platformClient": {
"id": 123,
"name": "",
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
},
"clientB2B": {
"businessName": "",
"description": "",
"iataCode": "",
"taxId": "",
"tags": "",
"clientB2BBranch": {
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
},
"contactName": "",
"contactEmail": "",
"contactPhone": "",
"@main": false
},
"user": {
"@id": 123,
"name": "",
"email": "",
"username": ""
},
"@category": 0
},
"type": "B2B"
},
"@token": "",
"@currency": "",
"@timeleft": 0
}Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"client": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique customer identifier."
},
"name": {
"type": "string"
},
"lastname": {
"type": "string"
},
"$": {
"type": "string"
},
"email": {
"type": "string"
},
"receiptMail": {
"type": "string"
},
"ticketMail": {
"type": "string"
},
"phone": {
"type": "string"
},
"identification": {
"type": "object",
"properties": {
"value": {
"type": "string"
},
"@type": {
"type": "string"
}
},
"required": [
"value",
"@type"
]
},
"gender": {
"type": "string",
"enum": [
"NOT_DEFINED",
"MALE",
"FEMALE"
]
},
"location": {
"type": "object",
"properties": {
"address": {
"type": "string",
"description": "Venue address where the event will be performed."
},
"city": {
"type": "string",
"description": "City where the event will be performed."
},
"postalCode": {
"type": "string",
"description": "Postal code or zip code where the event will be performed."
},
"countrySubdivision": {
"type": "object",
"properties": {
"@code": {
"type": "string",
"description": "Item unique identifier."
},
"$": {
"type": "string",
"description": "Item value string."
}
},
"required": [
"@code",
"$"
],
"description": "`Country subdivision, this shall be the province, state or county. Ie: ES-T - Tarragona.`"
},
"country": {
"type": "object",
"properties": {
"@code": {
"type": "string",
"description": "Item unique identifier."
},
"$": {
"type": "string",
"description": "Item value string."
}
},
"required": [
"@code",
"$"
],
"description": "`Ie: ES - Spain.`"
},
"coordinates": {
"type": "string"
}
},
"required": [
"address",
"city",
"postalCode",
"countrySubdivision",
"country"
]
},
"idCard": {
"type": "string"
},
"docType": {
"type": "number"
},
"profile-data": {
"type": "object",
"properties": {
"@`profile-id`": {
"type": "number",
"description": "Unique profile data identifier."
},
"profile-field": {
"type": "array"
}
},
"required": [
"@`profile-id`"
]
},
"language": {
"type": "object",
"properties": {
"value": {
"type": "string"
},
"@code": {
"type": "string"
}
},
"required": [
"value",
"@code"
]
},
"groupValidation": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@idGroup": {
"type": "number",
"description": "Unique group validation identifier."
},
"user": {
"type": "string"
},
"promotionalCode": {
"type": "string"
},
"externalProperties": {
"type": "object",
"properties": {
"externalId": {
"type": "string"
}
}
}
},
"required": [
"@idGroup",
"user",
"promotionalCode"
]
}
},
"allowCommercialMailing": {
"type": "boolean"
}
},
"required": [
"@id",
"name",
"lastname",
"$",
"gender",
"location"
]
},
"shoppingCartItem": {
"type": "array"
},
"deliveryMethod": {
"type": "number"
},
"deliveryCosts": {
"type": "number"
},
"insurance": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique insurance identifier."
},
"name": {
"type": "string"
},
"description": {
"type": "string"
},
"privacyPolicy": {
"type": "string"
},
"termsOfUse": {
"type": "string"
},
"additionalData": {
"type": "string"
}
},
"required": [
"@id",
"name",
"description",
"privacyPolicy",
"termsOfUse",
"additionalData"
]
},
"visitorGroup": {
"type": "array"
},
"totalPriceBreakdown": {
"type": "object",
"properties": {
"base-price": {
"type": "number"
},
"automatic-promotion": {
"type": "number"
},
"manual-promotion": {
"type": "number"
},
"manual-discount": {
"type": "number"
},
"client-discount": {
"type": "number"
},
"client-comission": {
"type": "number"
},
"charges": {
"type": "object",
"properties": {
"charge": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"enum": [
"CHANNEL_CHARGE",
"PROMOTER_CHARGE",
"PROMOTER_CHANNEL_CHARGE"
]
},
"value 1.5": {
"type": "number",
"description": "Value of the charge."
}
},
"required": [
"value 1.5"
]
}
}
},
"required": [
"charge"
]
},
"delivery-costs": {
"type": "number"
},
"insurance": {
"type": "number"
},
"taxes": {
"type": "object",
"properties": {
"tax": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique product identifier."
},
"value": {
"type": "number"
}
},
"required": [
"@id",
"value"
]
}
}
},
"required": [
"tax"
]
},
"final-price": {
"type": "number"
}
},
"required": [
"base-price",
"final-price"
]
},
"platformClient": {
"type": "object",
"properties": {
"id": {
"type": "number",
"description": "Unique platform client identifier."
},
"name": {
"type": "string"
},
"location": {
"type": "object",
"properties": {
"address": {
"type": "string",
"description": "Venue address where the event will be performed."
},
"city": {
"type": "string",
"description": "City where the event will be performed."
},
"postalCode": {
"type": "string",
"description": "Postal code or zip code where the event will be performed."
},
"countrySubdivision": {
"type": "object",
"properties": {
"@code": {
"type": "string",
"description": "Item unique identifier."
},
"$": {
"type": "string",
"description": "Item value string."
}
},
"required": [
"@code",
"$"
],
"description": "`Country subdivision, this shall be the province, state or county. Ie: ES-T - Tarragona.`"
},
"country": {
"type": "object",
"properties": {
"@code": {
"type": "string",
"description": "Item unique identifier."
},
"$": {
"type": "string",
"description": "Item value string."
}
},
"required": [
"@code",
"$"
],
"description": "`Ie: ES - Spain.`"
},
"coordinates": {
"type": "string"
}
},
"required": [
"address",
"city",
"postalCode",
"countrySubdivision",
"country"
]
},
"clientB2B": {
"type": "object",
"properties": {
"businessName": {
"type": "string"
},
"description": {
"type": "string"
},
"iataCode": {
"type": "string"
},
"taxId": {
"type": "string"
},
"tags": {
"type": "string"
},
"clientB2BBranch": {
"type": "object",
"properties": {
"location": {
"type": "object",
"properties": {
"address": {
"type": "string",
"description": "Venue address where the event will be performed."
},
"city": {
"type": "string",
"description": "City where the event will be performed."
},
"postalCode": {
"type": "string",
"description": "Postal code or zip code where the event will be performed."
},
"countrySubdivision": {
"type": "object",
"properties": {
"@code": {
"type": "string",
"description": "Item unique identifier."
},
"$": {
"type": "string",
"description": "Item value string."
}
},
"required": [
"@code",
"$"
],
"description": "`Country subdivision, this shall be the province, state or county. Ie: ES-T - Tarragona.`"
},
"country": {
"type": "object",
"properties": {
"@code": {
"type": "string",
"description": "Item unique identifier."
},
"$": {
"type": "string",
"description": "Item value string."
}
},
"required": [
"@code",
"$"
],
"description": "`Ie: ES - Spain.`"
},
"coordinates": {
"type": "string"
}
},
"required": [
"address",
"city",
"postalCode",
"countrySubdivision",
"country"
]
},
"contactName": {
"type": "string"
},
"contactEmail": {
"type": "string"
},
"contactPhone": {
"type": "string"
},
"@main": {
"type": "boolean"
}
},
"required": [
"location",
"contactName",
"contactEmail",
"contactPhone",
"@main"
]
},
"user": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique user identifier."
},
"name": {
"type": "string"
},
"email": {
"type": "string"
},
"username": {
"type": "string"
}
},
"required": [
"@id",
"name",
"email",
"username"
]
},
"@category": {
"type": "number"
}
},
"required": [
"businessName",
"description",
"iataCode",
"taxId",
"tags",
"clientB2BBranch",
"user"
]
},
"type": {
"type": "string",
"enum": [
"B2B",
"B2C"
]
}
},
"required": [
"id",
"name"
]
},
"@token": {
"type": "string"
},
"@currency": {
"type": "string"
},
"@timeleft": {
"type": "number"
}
},
"required": [
"client",
"shoppingCartItem",
"visitorGroup",
"totalPriceBreakdown",
"platformClient",
"@token",
"@currency",
"@timeleft"
]
}Headers
Content-Type: application/json;charset=UTF-8Body
{
"error": "Bad request",
"error_description": "There was a syntax error, check your params request and try it again."
}Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"error": {
"type": "string",
"description": "Short http error code description"
},
"error_description": {
"type": "string",
"description": "Detailed description of the error returned."
}
},
"required": [
"error",
"error_description"
]
}Headers
Content-Type: application/json;charset=UTF-8Body
{
"error": "Unauthorized",
"error_description": "Full authentication is required to access this resource"
}Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"error": {
"type": "string",
"description": "Short http error code description."
},
"error_description": {
"type": "string",
"description": "Detailed description of the error returned."
}
},
"required": [
"error",
"error_description"
]
}Headers
Content-Type: application/json;charset=UTF-8Body
{
"statusCode": 1010,
"responseTime": "08-03-2017 13:46:03.657"
}Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"statusCode": {
"type": "number",
"description": "This is the Onebox error codes. Get the full list here: [go to Onebox error responses](http://developer.oneboxtickets.com/httpresponsecodes.html)"
},
"responseTime": {
"type": "string"
}
},
"required": [
"statusCode",
"responseTime"
]
}Apply a promotionPOST/shoppingCart/addPromotion{?promotion,items,token,forceLimits,totalCharges}
Use this service to apply a promotion to one or more seats. Take into account that a promotion would need a minimum number of seats to be appliable.
- promotion
PromotionType(required) Example: promotion- items
array[number](required) Example: 10, 12, 15- token
string(required) Example: 188a5cf2a844e684375172cb1cf2bbf3- forceLimits
boolean(optional) Example: false- totalCharges
number(optional) Example: 120
Release Discount ¶
Headers
Authorization: Bearer [ACCESS_TOKEN]
Content-Type: application/json
Accept: application/json- Headers
traceID:
String: Unique id to identify the transaction within the Onebox API audit systemOB_Error_Code:Number: This is the Onebox error codes. Get the full list here: [go to Onebox error responses](http://developer.oneboxtickets.com/httpresponsecodes.html)
Headers
Content-Type: application/json;charset=UTF-8Body
{
"client": {
"@id": 123,
"name": "First name",
"lastname": "Last name",
"$": "1970-01-01",
"email": "email@domain.com",
"receiptMail": "email@domain.com",
"ticketMail": "email@domain.com",
"phone": "0034 555 55 55",
"identification": {
"value": "",
"@type": ""
},
"gender": "NOT_DEFINED",
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
},
"profile-data": {
"@`profile-id`": 123,
"profile-field": [
{
"@`field-id`": 123,
"idValue": [],
"user-input-value": []
}
]
},
"language": {
"value": "",
"@code": ""
},
"groupValidation": [
{
"@idGroup": 123,
"user": "",
"promotionalCode": "",
"externalProperties": {}
}
]
},
"shoppingCartItem": [
{
"shopping-cart-item": {
"ticket-data": {},
"product-data": {
"venue": {
"@id": 432432,
"@name": "World Park",
"@timeZone": "Europe/Berlin",
"communication-elements": {
"@language": "en_US",
"images": [
{
"@type": "LOGO_WEB",
"@order": 1,
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"videos": [
{
"@type": "VIDEO",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"files": [
{
"@type": "FILE",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"banners": [
{
"@type": "CHANNEL_PURCHASE_HEADER_BANNER",
"imageUrl": "https://s3.amazonaws.com/onebox-repository/pro/1/1/itemIdioma/1741/1_image_1340695930723.jpg",
"linkUrl": "http://www.website.com/channel_id"
}
]
},
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
}
},
"product-info": {
"@id": 10,
"internalName": "",
"name": "",
"dates": {
"datetime": [
{
"@type": "EVENT_BEGIN",
"@pendingConfirmation": false,
"@timeZoneId": "Europe/Berlin",
"$": "2018-01-07T19:00:00.000+01:00"
}
]
},
"venue": {
"@id": 432432,
"@name": "World Park",
"@timeZone": "Europe/Berlin",
"communication-elements": {
"@language": "en_US",
"images": [
{
"@type": "LOGO_WEB",
"@order": 1,
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"videos": [
{
"@type": "VIDEO",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"files": [
{
"@type": "FILE",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"banners": [
{
"@type": "CHANNEL_PURCHASE_HEADER_BANNER",
"imageUrl": "https://s3.amazonaws.com/onebox-repository/pro/1/1/itemIdioma/1741/1_image_1340695930723.jpg",
"linkUrl": "http://www.website.com/channel_id"
}
]
},
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
}
},
"catalog-info": {
"entityId": 0,
"name": ""
},
"attributes": {
"attribute": [
{
"@id": 10,
"name": ""
}
]
},
"product-image": [],
"forSale": false,
"bookable": false,
"product-variant": [
{
"id": 10,
"sku": "",
"price-breakdown": {
"base-price": 10,
"automatic-promotion": 0,
"manual-promotion": 0,
"manual-discount": 0,
"client-discount": 0,
"client-comission": 0,
"charges": {
"charge": [
{
"@type": "CHANNEL_CHARGE",
"value 1.5": 0
}
]
},
"delivery-costs": 0,
"insurance": 0,
"taxes": {
"tax": [
{
"@id": 10,
"value": 0
}
]
},
"final-price": 20
},
"limited-stock": false,
"variant-availability": 0,
"variant-attributes": {
"variant-attribute": [
{
"attribute": {
"@id": 10,
"name": ""
},
"value": ""
}
]
},
"venue": {
"@id": 432432,
"@name": "World Park",
"@timeZone": "Europe/Berlin",
"communication-elements": {
"@language": "en_US",
"images": [
{
"@type": "LOGO_WEB",
"@order": 1,
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"videos": [
{
"@type": "VIDEO",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"files": [
{
"@type": "FILE",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"banners": [
{
"@type": "CHANNEL_PURCHASE_HEADER_BANNER",
"imageUrl": "https://s3.amazonaws.com/onebox-repository/pro/1/1/itemIdioma/1741/1_image_1340695930723.jpg",
"linkUrl": "http://www.website.com/channel_id"
}
]
},
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
}
},
"catalog-info": {
"entityId": 0,
"name": ""
},
"product-info": {
"@id": 10,
"internalName": "",
"name": "",
"dates": {
"datetime": [
{
"@type": "EVENT_BEGIN",
"@pendingConfirmation": false,
"@timeZoneId": "Europe/Berlin",
"$": "2018-01-07T19:00:00.000+01:00"
}
]
},
"venue": {
"@id": 432432,
"@name": "World Park",
"@timeZone": "Europe/Berlin",
"communication-elements": {
"@language": "en_US",
"images": [
{
"@type": "LOGO_WEB",
"@order": 1,
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"videos": [
{
"@type": "VIDEO",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"files": [
{
"@type": "FILE",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"banners": [
{
"@type": "CHANNEL_PURCHASE_HEADER_BANNER",
"imageUrl": "https://s3.amazonaws.com/onebox-repository/pro/1/1/itemIdioma/1741/1_image_1340695930723.jpg",
"linkUrl": "http://www.website.com/channel_id"
}
]
},
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
}
},
"catalog-info": {
"entityId": 0,
"name": ""
},
"attributes": {
"attribute": [
{
"@id": 10,
"name": ""
}
]
},
"product-image": [],
"forSale": false,
"bookable": false,
"product-variant": []
}
}
]
},
"variant-attributes": {
"variant-attribute": [
{
"attribute": {
"@id": 10,
"name": ""
},
"value": ""
}
]
},
"printouts": 0,
"cancellations": 0,
"status": "PURCHASED",
"sku": "",
"customer": {
"@id": 123,
"name": "First name",
"lastname": "Last name",
"$": "1970-01-01",
"email": "email@domain.com",
"receiptMail": "email@domain.com",
"ticketMail": "email@domain.com",
"phone": "0034 555 55 55",
"identification": {
"value": "",
"@type": ""
},
"gender": "NOT_DEFINED",
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
},
"profile-data": {
"@`profile-id`": 123,
"profile-field": [
{
"@`field-id`": 123,
"idValue": [],
"user-input-value": []
}
]
},
"language": {
"value": "",
"@code": ""
},
"groupValidation": [
{
"@idGroup": 123,
"user": "",
"promotionalCode": "",
"externalProperties": {}
}
]
},
"session-basic-info": {
"@id": 5553432,
"internalName": "7 days 1 park",
"name": "7 days 1 park",
"description": "<P ALIGN=\\\"LEFT\\\">Six amazing worlds in just one Park, perfect for having fun in family and frends as well.</P>",
"dates": {
"datetime": [
{
"@type": "EVENT_BEGIN",
"@pendingConfirmation": false,
"@timeZoneId": "Europe/Berlin",
"$": "2018-01-07T19:00:00.000+01:00"
}
]
},
"venue": {
"@id": 432432,
"@name": "World Park",
"@timeZone": "Europe/Berlin",
"communication-elements": {
"@language": "en_US",
"images": [
{
"@type": "LOGO_WEB",
"@order": 1,
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"videos": [
{
"@type": "VIDEO",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"files": [
{
"@type": "FILE",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"banners": [
{
"@type": "CHANNEL_PURCHASE_HEADER_BANNER",
"imageUrl": "https://s3.amazonaws.com/onebox-repository/pro/1/1/itemIdioma/1741/1_image_1340695930723.jpg",
"linkUrl": "http://www.website.com/channel_id"
}
]
},
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
}
},
"space": {
"id": 150,
"name": "SPACE"
},
"event-basic-info": {
"@id": 23454,
"internalName": "7 days 1 park",
"externalReferenceCode": "EXT-123",
"title": "Theme Park",
"subtitle": "¡Discover the 6 worlds adrenaline!",
"shortDescription": "<P ALIGN=\\\"LEFT\\\">Six amazing worlds in just one Park, perfect for having fun in family and frends as well.</P>",
"longDescription": "<P ALIGN=\\\"LEFT\\\">Explore a whole world of fun and know our amazing theme parks. An ideal destination for a family getaway, located in one of the best tourist areas of Spain and just an hour from Barcelona! </ P> <BR/> <P ALIGN = \\ \"LEFT \\\"> The best entertainment, relaxation, gastronomy and shopping you can imagine. > A DESTINY AND SIX WORLDS TO DISCOVER </ P> <P ALIGN = \\ \"LEFT \\\"> Here begins a journey that takes you much further than you can imagine. At the Park we look forward to six fascinating worlds completely different, with a careful decoration to the last detail, so that you enjoy to the maximum. Emotions for all tastes. Families, friends, big and small: in our theme park, all the fun.</P>",
"additionalEventData": "",
"duration": "",
"communication-elements": {
"@language": "en_US",
"images": [
{
"@type": "LOGO_WEB",
"@order": 1,
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"videos": [
{
"@type": "VIDEO",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"files": [
{
"@type": "FILE",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"banners": [
{
"@type": "CHANNEL_PURCHASE_HEADER_BANNER",
"imageUrl": "https://s3.amazonaws.com/onebox-repository/pro/1/1/itemIdioma/1741/1_image_1340695930723.jpg",
"linkUrl": "http://www.website.com/channel_id"
}
]
},
"taxonomy": {
"@id": 68,
"code": "APRTEM",
"description": "Theme Parks",
"superior-taxonomy": {
"@id": 68,
"code": "APRTEM",
"description": "Theme Parks"
}
},
"custom-taxonomy": {
"@id": 68,
"code": "APRTEM",
"description": "Theme Parks"
},
"promoter-custom-taxonomy": {
"@id": 68,
"code": "APRTEM",
"description": "Theme Parks"
},
"languages": {
"language": [
"",
"ca_ES"
]
},
"dates": {
"datetime": [
{
"@type": "EVENT_BEGIN",
"@pendingConfirmation": false,
"@timeZoneId": "Europe/Berlin",
"$": "2018-01-07T19:00:00.000+01:00"
}
]
},
"entidad": {
"@id": 123,
"name": "Theme Park",
"nif": "A54343234",
"email": "info@theme.park",
"phoneNumber": "0034 555 55 55",
"timeZone": "Europe/Madrid",
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
}
},
"promotor": {
"@id": 475,
"corporateName": "Theme Park Entertainment SA.",
"fiscalCode": "A53776307",
"email": "info@theme.park",
"phoneNumber": "0034 555 55 55",
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
}
},
"tour": {
"@id": 475,
"name": "Theme Park",
"promotorReference": "Theme Park Entertainment SA."
},
"severalVenues": false,
"severalLocations": false,
"supraEvent": false,
"giftTicket": false,
"nominal": false,
"eventType": "EVENT",
"attribute-values": [
{
"attribute-info": {
"id": 0,
"name": "",
"selection": "SINGLE",
"domain-value-info": [
{
"idValue": 10,
"value": "oneboxtm",
"referenceCode": "OB"
}
],
"domain": "EVENT",
"valueType": "DOMAIN_VALUE",
"referenceCode": "Attr"
},
"attribute-value": [
{
"user-input-value": {},
"domain-value": {
"value": "``",
"idValue": 30
}
}
],
"idAttribute": 50,
"description": "DESCRIPTION"
}
],
"passbookPreferences": {
"communication-elements": {
"@language": "en_US",
"images": [
{
"@type": "LOGO_WEB",
"@order": 1,
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"videos": [
{
"@type": "VIDEO",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"files": [
{
"@type": "FILE",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"banners": [
{
"@type": "CHANNEL_PURCHASE_HEADER_BANNER",
"imageUrl": "https://s3.amazonaws.com/onebox-repository/pro/1/1/itemIdioma/1741/1_image_1340695930723.jpg",
"linkUrl": "http://www.website.com/channel_id"
}
]
}
},
"clientEventDiscount": {
"discountType": "AMOUNT"
}
},
"forSale": true,
"blockingReasons": "",
"hasProducts": false,
"admission": "ALL_AGES_ADMITTED",
"supportedEventType": "EVENT",
"supportedVisitorType": "INDIVIDUAL",
"attribute-values": [
{
"attribute-info": {
"id": 0,
"name": "",
"selection": "SINGLE",
"domain-value-info": [
{
"idValue": 10,
"value": "oneboxtm",
"referenceCode": "OB"
}
],
"domain": "EVENT",
"valueType": "DOMAIN_VALUE",
"referenceCode": "Attr"
},
"attribute-value": [
{
"user-input-value": {},
"domain-value": {
"value": "``",
"idValue": 30
}
}
],
"idAttribute": 50,
"description": "DESCRIPTION"
}
],
"visitorGroupConfig": "",
"hideSessionDates": false,
"showDate": false,
"showDatetime": false,
"@rates": "7 days 1 park UK/PAP17",
"season-session-info": {
"beginDate": "2015-09-01T12:00:00+01:00",
"endDate": "2015-10-01T12:00:00+01:00",
"idsSeasonSessions": [],
"seasonSessions": {
"@id": 5553432,
"internalName": "7 days 1 park",
"name": "7 days 1 park",
"description": "<P ALIGN=\\\"LEFT\\\">Six amazing worlds in just one Park, perfect for having fun in family and frends as well.</P>",
"dates": {
"datetime": [
{
"@type": "EVENT_BEGIN",
"@pendingConfirmation": false,
"@timeZoneId": "Europe/Berlin",
"$": "2018-01-07T19:00:00.000+01:00"
}
]
},
"venue": {
"@id": 432432,
"@name": "World Park",
"@timeZone": "Europe/Berlin",
"communication-elements": {
"@language": "en_US",
"images": [
{
"@type": "LOGO_WEB",
"@order": 1,
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"videos": [
{
"@type": "VIDEO",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"files": [
{
"@type": "FILE",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"banners": [
{
"@type": "CHANNEL_PURCHASE_HEADER_BANNER",
"imageUrl": "https://s3.amazonaws.com/onebox-repository/pro/1/1/itemIdioma/1741/1_image_1340695930723.jpg",
"linkUrl": "http://www.website.com/channel_id"
}
]
},
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
}
},
"space": {
"id": 150,
"name": "SPACE"
},
"event-basic-info": {
"@id": 23454,
"internalName": "7 days 1 park",
"externalReferenceCode": "EXT-123",
"title": "Theme Park",
"subtitle": "¡Discover the 6 worlds adrenaline!",
"shortDescription": "<P ALIGN=\\\"LEFT\\\">Six amazing worlds in just one Park, perfect for having fun in family and frends as well.</P>",
"longDescription": "<P ALIGN=\\\"LEFT\\\">Explore a whole world of fun and know our amazing theme parks. An ideal destination for a family getaway, located in one of the best tourist areas of Spain and just an hour from Barcelona! </ P> <BR/> <P ALIGN = \\ \"LEFT \\\"> The best entertainment, relaxation, gastronomy and shopping you can imagine. > A DESTINY AND SIX WORLDS TO DISCOVER </ P> <P ALIGN = \\ \"LEFT \\\"> Here begins a journey that takes you much further than you can imagine. At the Park we look forward to six fascinating worlds completely different, with a careful decoration to the last detail, so that you enjoy to the maximum. Emotions for all tastes. Families, friends, big and small: in our theme park, all the fun.</P>",
"additionalEventData": "",
"duration": "",
"communication-elements": {
"@language": "en_US",
"images": [
{
"@type": "LOGO_WEB",
"@order": 1,
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"videos": [
{
"@type": "VIDEO",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"files": [
{
"@type": "FILE",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"banners": [
{
"@type": "CHANNEL_PURCHASE_HEADER_BANNER",
"imageUrl": "https://s3.amazonaws.com/onebox-repository/pro/1/1/itemIdioma/1741/1_image_1340695930723.jpg",
"linkUrl": "http://www.website.com/channel_id"
}
]
},
"taxonomy": {
"@id": 68,
"code": "APRTEM",
"description": "Theme Parks",
"superior-taxonomy": {
"@id": 68,
"code": "APRTEM",
"description": "Theme Parks"
}
},
"custom-taxonomy": {
"@id": 68,
"code": "APRTEM",
"description": "Theme Parks"
},
"promoter-custom-taxonomy": {
"@id": 68,
"code": "APRTEM",
"description": "Theme Parks"
},
"languages": {
"language": [
"",
"ca_ES"
]
},
"dates": {
"datetime": [
{
"@type": "EVENT_BEGIN",
"@pendingConfirmation": false,
"@timeZoneId": "Europe/Berlin",
"$": "2018-01-07T19:00:00.000+01:00"
}
]
},
"entidad": {
"@id": 123,
"name": "Theme Park",
"nif": "A54343234",
"email": "info@theme.park",
"phoneNumber": "0034 555 55 55",
"timeZone": "Europe/Madrid",
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
}
},
"promotor": {
"@id": 475,
"corporateName": "Theme Park Entertainment SA.",
"fiscalCode": "A53776307",
"email": "info@theme.park",
"phoneNumber": "0034 555 55 55",
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
}
},
"tour": {
"@id": 475,
"name": "Theme Park",
"promotorReference": "Theme Park Entertainment SA."
},
"severalVenues": false,
"severalLocations": false,
"supraEvent": false,
"giftTicket": false,
"nominal": false,
"eventType": "EVENT",
"attribute-values": [
{
"attribute-info": {
"id": 0,
"name": "",
"selection": "SINGLE",
"domain-value-info": [
{
"idValue": 10,
"value": "oneboxtm",
"referenceCode": "OB"
}
],
"domain": "EVENT",
"valueType": "DOMAIN_VALUE",
"referenceCode": "Attr"
},
"attribute-value": [
{
"user-input-value": {},
"domain-value": {
"value": "``",
"idValue": 30
}
}
],
"idAttribute": 50,
"description": "DESCRIPTION"
}
],
"passbookPreferences": {
"communication-elements": {
"@language": "en_US",
"images": [
{
"@type": "LOGO_WEB",
"@order": 1,
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"videos": [
{
"@type": "VIDEO",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"files": [
{
"@type": "FILE",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"banners": [
{
"@type": "CHANNEL_PURCHASE_HEADER_BANNER",
"imageUrl": "https://s3.amazonaws.com/onebox-repository/pro/1/1/itemIdioma/1741/1_image_1340695930723.jpg",
"linkUrl": "http://www.website.com/channel_id"
}
]
}
},
"clientEventDiscount": {
"discountType": "AMOUNT"
}
},
"forSale": true,
"blockingReasons": "",
"hasProducts": false,
"admission": "ALL_AGES_ADMITTED",
"supportedEventType": "EVENT",
"supportedVisitorType": "INDIVIDUAL",
"attribute-values": [
{
"attribute-info": {
"id": 0,
"name": "",
"selection": "SINGLE",
"domain-value-info": [
{
"idValue": 10,
"value": "oneboxtm",
"referenceCode": "OB"
}
],
"domain": "EVENT",
"valueType": "DOMAIN_VALUE",
"referenceCode": "Attr"
},
"attribute-value": [
{
"user-input-value": {},
"domain-value": {
"value": "``",
"idValue": 30
}
}
],
"idAttribute": 50,
"description": "DESCRIPTION"
}
],
"visitorGroupConfig": "",
"hideSessionDates": false,
"showDate": false,
"showDatetime": false,
"@rates": "7 days 1 park UK/PAP17",
"season-session-info": {}
},
"@isSeasonSession": 0
}
},
"event-basic-info": {
"@id": 23454,
"internalName": "7 days 1 park",
"externalReferenceCode": "EXT-123",
"title": "Theme Park",
"subtitle": "¡Discover the 6 worlds adrenaline!",
"shortDescription": "<P ALIGN=\\\"LEFT\\\">Six amazing worlds in just one Park, perfect for having fun in family and frends as well.</P>",
"longDescription": "<P ALIGN=\\\"LEFT\\\">Explore a whole world of fun and know our amazing theme parks. An ideal destination for a family getaway, located in one of the best tourist areas of Spain and just an hour from Barcelona! </ P> <BR/> <P ALIGN = \\ \"LEFT \\\"> The best entertainment, relaxation, gastronomy and shopping you can imagine. > A DESTINY AND SIX WORLDS TO DISCOVER </ P> <P ALIGN = \\ \"LEFT \\\"> Here begins a journey that takes you much further than you can imagine. At the Park we look forward to six fascinating worlds completely different, with a careful decoration to the last detail, so that you enjoy to the maximum. Emotions for all tastes. Families, friends, big and small: in our theme park, all the fun.</P>",
"additionalEventData": "",
"duration": "",
"communication-elements": {
"@language": "en_US",
"images": [
{
"@type": "LOGO_WEB",
"@order": 1,
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"videos": [
{
"@type": "VIDEO",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"files": [
{
"@type": "FILE",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"banners": [
{
"@type": "CHANNEL_PURCHASE_HEADER_BANNER",
"imageUrl": "https://s3.amazonaws.com/onebox-repository/pro/1/1/itemIdioma/1741/1_image_1340695930723.jpg",
"linkUrl": "http://www.website.com/channel_id"
}
]
},
"taxonomy": {
"@id": 68,
"code": "APRTEM",
"description": "Theme Parks",
"superior-taxonomy": {
"@id": 68,
"code": "APRTEM",
"description": "Theme Parks"
}
},
"custom-taxonomy": {
"@id": 68,
"code": "APRTEM",
"description": "Theme Parks"
},
"promoter-custom-taxonomy": {
"@id": 68,
"code": "APRTEM",
"description": "Theme Parks"
},
"languages": {
"language": [
"",
"ca_ES"
]
},
"dates": {
"datetime": [
{
"@type": "EVENT_BEGIN",
"@pendingConfirmation": false,
"@timeZoneId": "Europe/Berlin",
"$": "2018-01-07T19:00:00.000+01:00"
}
]
},
"entidad": {
"@id": 123,
"name": "Theme Park",
"nif": "A54343234",
"email": "info@theme.park",
"phoneNumber": "0034 555 55 55",
"timeZone": "Europe/Madrid",
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
}
},
"promotor": {
"@id": 475,
"corporateName": "Theme Park Entertainment SA.",
"fiscalCode": "A53776307",
"email": "info@theme.park",
"phoneNumber": "0034 555 55 55",
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
}
},
"tour": {
"@id": 475,
"name": "Theme Park",
"promotorReference": "Theme Park Entertainment SA."
},
"severalVenues": false,
"severalLocations": false,
"supraEvent": false,
"giftTicket": false,
"nominal": false,
"eventType": "EVENT",
"attribute-values": [
{
"attribute-info": {
"id": 0,
"name": "",
"selection": "SINGLE",
"domain-value-info": [
{
"idValue": 10,
"value": "oneboxtm",
"referenceCode": "OB"
}
],
"domain": "EVENT",
"valueType": "DOMAIN_VALUE",
"referenceCode": "Attr"
},
"attribute-value": [
{
"user-input-value": {},
"domain-value": {
"value": "``",
"idValue": 30
}
}
],
"idAttribute": 50,
"description": "DESCRIPTION"
}
],
"passbookPreferences": {
"communication-elements": {
"@language": "en_US",
"images": [
{
"@type": "LOGO_WEB",
"@order": 1,
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"videos": [
{
"@type": "VIDEO",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"files": [
{
"@type": "FILE",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"banners": [
{
"@type": "CHANNEL_PURCHASE_HEADER_BANNER",
"imageUrl": "https://s3.amazonaws.com/onebox-repository/pro/1/1/itemIdioma/1741/1_image_1340695930723.jpg",
"linkUrl": "http://www.website.com/channel_id"
}
]
}
},
"clientEventDiscount": {
"discountType": "AMOUNT"
}
},
"automatic": "",
"promotion": {
"@id": 10,
"activator": "",
"promotionComElements": {
"name": "NAME",
"description": "DESCRIPTION"
}
},
"discount": {
"@id": 10,
"activator": "",
"promotionComElements": {
"name": "NAME",
"description": "DESCRIPTION"
}
},
"productAcquisitionType": "GENERAL"
},
"automatic-protmotion": {
"@id": 30,
"promotionComElements": {
"name": "NAME",
"description": "DESCRIPTION"
},
"type": "PERCENTAGE",
"value": 10,
"priceZonesIds": {
"priceZonesId": [
10,
12,
15
]
},
"group": {
"i@d": 30,
"name": "NAME",
"validationType": "CHANNEL",
"validationMethod": "PROMOTIONAL_CODE"
},
"limitedUses": false
},
"promotion": {
"@id": 30,
"promotionComElements": {
"name": "NAME",
"description": "DESCRIPTION"
},
"type": "PERCENTAGE",
"value": 10,
"priceZonesIds": {
"priceZonesId": [
10,
12,
15
]
},
"group": {
"i@d": 30,
"name": "NAME",
"validationType": "CHANNEL",
"validationMethod": "PROMOTIONAL_CODE"
},
"restrictions": {
"packItems": 0,
"maxItems": 0,
"minItems": 0
},
"mandatory": false,
"self-managed": false,
"limitedUses": false,
"dates": {
"datetime": [
{
"@type": "EVENT_BEGIN",
"@pendingConfirmation": false,
"@timeZoneId": "Europe/Berlin",
"$": "2018-01-07T19:00:00.000+01:00"
}
]
}
},
"promotionActivator": "",
"productId": 0,
"discount": {
"@id": 30,
"promotionComElements": {
"name": "NAME",
"description": "DESCRIPTION"
},
"type": "PERCENTAGE",
"value": 10,
"priceZonesIds": {
"priceZonesId": [
10,
12,
15
]
},
"group": {
"i@d": 30,
"name": "NAME",
"validationType": "CHANNEL",
"validationMethod": "PROMOTIONAL_CODE"
},
"restrictions": {
"packItems": 0,
"maxItems": 0,
"minItems": 0
},
"mandatory": false,
"self-managed": false,
"limitedUses": false,
"dates": {
"datetime": [
{
"@type": "EVENT_BEGIN",
"@pendingConfirmation": false,
"@timeZoneId": "Europe/Berlin",
"$": "2018-01-07T19:00:00.000+01:00"
}
]
}
},
"discountActivator'": "",
"price": "",
"operationsAllowed": {
"printInvoice": false
},
"attendant": {
"field": [
{
"@name": "",
"@value": ""
}
],
"clientDiscount": {
"@value": 0,
"type": "PERCENT"
},
"clientCommission": {
"@value": 0,
"type": "PERCENT"
}
},
"itemWarning": [
"",
"SESSION_NON_CONSECUTIVE_SEAT"
],
"modifyingBookingOrderCode": "",
"clientConiditions": {
"@id": 123
},
"@id": 0,
"@type": "TICKET"
}
}
],
"deliveryMethod": 0,
"deliveryCosts": 0,
"insurance": {
"@id": 123,
"name": "",
"description": "",
"privacyPolicy": "",
"termsOfUse": "",
"additionalData": ""
},
"visitorGroup": [
{
"@id": 123,
"name": "",
"numAttendants": 0,
"numAccompanists": 0,
"attribute-values": [
{
"attribute-info": {
"id": 0,
"name": "",
"selection": "SINGLE",
"domain-value-info": [
{
"idValue": 10,
"value": "oneboxtm",
"referenceCode": "OB"
}
],
"domain": "EVENT",
"valueType": "DOMAIN_VALUE",
"referenceCode": "Attr"
},
"attribute-value": [
{
"user-input-value": {},
"domain-value": {
"value": "``",
"idValue": 30
}
}
],
"idAttribute": 50,
"description": "DESCRIPTION"
}
]
}
],
"totalPriceBreakdown": {
"base-price": 10,
"automatic-promotion": 0,
"manual-promotion": 0,
"manual-discount": 0,
"client-discount": 0,
"client-comission": 0,
"charges": {
"charge": [
{
"@type": "CHANNEL_CHARGE",
"value 1.5": 0
}
]
},
"delivery-costs": 0,
"insurance": 0,
"taxes": {
"tax": [
{
"@id": 10,
"value": 0
}
]
},
"final-price": 20
},
"platformClient": {
"id": 123,
"name": "",
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
},
"clientB2B": {
"businessName": "",
"description": "",
"iataCode": "",
"taxId": "",
"tags": "",
"clientB2BBranch": {
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
},
"contactName": "",
"contactEmail": "",
"contactPhone": "",
"@main": false
},
"user": {
"@id": 123,
"name": "",
"email": "",
"username": ""
},
"@category": 0
},
"type": "B2B"
},
"@token": "",
"@currency": "",
"@timeleft": 0
}Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"client": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique customer identifier."
},
"name": {
"type": "string"
},
"lastname": {
"type": "string"
},
"$": {
"type": "string"
},
"email": {
"type": "string"
},
"receiptMail": {
"type": "string"
},
"ticketMail": {
"type": "string"
},
"phone": {
"type": "string"
},
"identification": {
"type": "object",
"properties": {
"value": {
"type": "string"
},
"@type": {
"type": "string"
}
},
"required": [
"value",
"@type"
]
},
"gender": {
"type": "string",
"enum": [
"NOT_DEFINED",
"MALE",
"FEMALE"
]
},
"location": {
"type": "object",
"properties": {
"address": {
"type": "string",
"description": "Venue address where the event will be performed."
},
"city": {
"type": "string",
"description": "City where the event will be performed."
},
"postalCode": {
"type": "string",
"description": "Postal code or zip code where the event will be performed."
},
"countrySubdivision": {
"type": "object",
"properties": {
"@code": {
"type": "string",
"description": "Item unique identifier."
},
"$": {
"type": "string",
"description": "Item value string."
}
},
"required": [
"@code",
"$"
],
"description": "`Country subdivision, this shall be the province, state or county. Ie: ES-T - Tarragona.`"
},
"country": {
"type": "object",
"properties": {
"@code": {
"type": "string",
"description": "Item unique identifier."
},
"$": {
"type": "string",
"description": "Item value string."
}
},
"required": [
"@code",
"$"
],
"description": "`Ie: ES - Spain.`"
},
"coordinates": {
"type": "string"
}
},
"required": [
"address",
"city",
"postalCode",
"countrySubdivision",
"country"
]
},
"idCard": {
"type": "string"
},
"docType": {
"type": "number"
},
"profile-data": {
"type": "object",
"properties": {
"@`profile-id`": {
"type": "number",
"description": "Unique profile data identifier."
},
"profile-field": {
"type": "array"
}
},
"required": [
"@`profile-id`"
]
},
"language": {
"type": "object",
"properties": {
"value": {
"type": "string"
},
"@code": {
"type": "string"
}
},
"required": [
"value",
"@code"
]
},
"groupValidation": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@idGroup": {
"type": "number",
"description": "Unique group validation identifier."
},
"user": {
"type": "string"
},
"promotionalCode": {
"type": "string"
},
"externalProperties": {
"type": "object",
"properties": {
"externalId": {
"type": "string"
}
}
}
},
"required": [
"@idGroup",
"user",
"promotionalCode"
]
}
},
"allowCommercialMailing": {
"type": "boolean"
}
},
"required": [
"@id",
"name",
"lastname",
"$",
"gender",
"location"
]
},
"shoppingCartItem": {
"type": "array"
},
"deliveryMethod": {
"type": "number"
},
"deliveryCosts": {
"type": "number"
},
"insurance": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique insurance identifier."
},
"name": {
"type": "string"
},
"description": {
"type": "string"
},
"privacyPolicy": {
"type": "string"
},
"termsOfUse": {
"type": "string"
},
"additionalData": {
"type": "string"
}
},
"required": [
"@id",
"name",
"description",
"privacyPolicy",
"termsOfUse",
"additionalData"
]
},
"visitorGroup": {
"type": "array"
},
"totalPriceBreakdown": {
"type": "object",
"properties": {
"base-price": {
"type": "number"
},
"automatic-promotion": {
"type": "number"
},
"manual-promotion": {
"type": "number"
},
"manual-discount": {
"type": "number"
},
"client-discount": {
"type": "number"
},
"client-comission": {
"type": "number"
},
"charges": {
"type": "object",
"properties": {
"charge": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"enum": [
"CHANNEL_CHARGE",
"PROMOTER_CHARGE",
"PROMOTER_CHANNEL_CHARGE"
]
},
"value 1.5": {
"type": "number",
"description": "Value of the charge."
}
},
"required": [
"value 1.5"
]
}
}
},
"required": [
"charge"
]
},
"delivery-costs": {
"type": "number"
},
"insurance": {
"type": "number"
},
"taxes": {
"type": "object",
"properties": {
"tax": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique product identifier."
},
"value": {
"type": "number"
}
},
"required": [
"@id",
"value"
]
}
}
},
"required": [
"tax"
]
},
"final-price": {
"type": "number"
}
},
"required": [
"base-price",
"final-price"
]
},
"platformClient": {
"type": "object",
"properties": {
"id": {
"type": "number",
"description": "Unique platform client identifier."
},
"name": {
"type": "string"
},
"location": {
"type": "object",
"properties": {
"address": {
"type": "string",
"description": "Venue address where the event will be performed."
},
"city": {
"type": "string",
"description": "City where the event will be performed."
},
"postalCode": {
"type": "string",
"description": "Postal code or zip code where the event will be performed."
},
"countrySubdivision": {
"type": "object",
"properties": {
"@code": {
"type": "string",
"description": "Item unique identifier."
},
"$": {
"type": "string",
"description": "Item value string."
}
},
"required": [
"@code",
"$"
],
"description": "`Country subdivision, this shall be the province, state or county. Ie: ES-T - Tarragona.`"
},
"country": {
"type": "object",
"properties": {
"@code": {
"type": "string",
"description": "Item unique identifier."
},
"$": {
"type": "string",
"description": "Item value string."
}
},
"required": [
"@code",
"$"
],
"description": "`Ie: ES - Spain.`"
},
"coordinates": {
"type": "string"
}
},
"required": [
"address",
"city",
"postalCode",
"countrySubdivision",
"country"
]
},
"clientB2B": {
"type": "object",
"properties": {
"businessName": {
"type": "string"
},
"description": {
"type": "string"
},
"iataCode": {
"type": "string"
},
"taxId": {
"type": "string"
},
"tags": {
"type": "string"
},
"clientB2BBranch": {
"type": "object",
"properties": {
"location": {
"type": "object",
"properties": {
"address": {
"type": "string",
"description": "Venue address where the event will be performed."
},
"city": {
"type": "string",
"description": "City where the event will be performed."
},
"postalCode": {
"type": "string",
"description": "Postal code or zip code where the event will be performed."
},
"countrySubdivision": {
"type": "object",
"properties": {
"@code": {
"type": "string",
"description": "Item unique identifier."
},
"$": {
"type": "string",
"description": "Item value string."
}
},
"required": [
"@code",
"$"
],
"description": "`Country subdivision, this shall be the province, state or county. Ie: ES-T - Tarragona.`"
},
"country": {
"type": "object",
"properties": {
"@code": {
"type": "string",
"description": "Item unique identifier."
},
"$": {
"type": "string",
"description": "Item value string."
}
},
"required": [
"@code",
"$"
],
"description": "`Ie: ES - Spain.`"
},
"coordinates": {
"type": "string"
}
},
"required": [
"address",
"city",
"postalCode",
"countrySubdivision",
"country"
]
},
"contactName": {
"type": "string"
},
"contactEmail": {
"type": "string"
},
"contactPhone": {
"type": "string"
},
"@main": {
"type": "boolean"
}
},
"required": [
"location",
"contactName",
"contactEmail",
"contactPhone",
"@main"
]
},
"user": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique user identifier."
},
"name": {
"type": "string"
},
"email": {
"type": "string"
},
"username": {
"type": "string"
}
},
"required": [
"@id",
"name",
"email",
"username"
]
},
"@category": {
"type": "number"
}
},
"required": [
"businessName",
"description",
"iataCode",
"taxId",
"tags",
"clientB2BBranch",
"user"
]
},
"type": {
"type": "string",
"enum": [
"B2B",
"B2C"
]
}
},
"required": [
"id",
"name"
]
},
"@token": {
"type": "string"
},
"@currency": {
"type": "string"
},
"@timeleft": {
"type": "number"
}
},
"required": [
"client",
"shoppingCartItem",
"visitorGroup",
"totalPriceBreakdown",
"platformClient",
"@token",
"@currency",
"@timeleft"
]
}Headers
Content-Type: application/json;charset=UTF-8Body
{
"error": "Bad request",
"error_description": "There was a syntax error, check your params request and try it again."
}Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"error": {
"type": "string",
"description": "Short http error code description"
},
"error_description": {
"type": "string",
"description": "Detailed description of the error returned."
}
},
"required": [
"error",
"error_description"
]
}Headers
Content-Type: application/json;charset=UTF-8Body
{
"error": "Unauthorized",
"error_description": "Full authentication is required to access this resource"
}Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"error": {
"type": "string",
"description": "Short http error code description."
},
"error_description": {
"type": "string",
"description": "Detailed description of the error returned."
}
},
"required": [
"error",
"error_description"
]
}Headers
Content-Type: application/json;charset=UTF-8Body
{
"statusCode": 1010,
"responseTime": "08-03-2017 13:46:03.657"
}Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"statusCode": {
"type": "number",
"description": "This is the Onebox error codes. Get the full list here: [go to Onebox error responses](http://developer.oneboxtickets.com/httpresponsecodes.html)"
},
"responseTime": {
"type": "string"
}
},
"required": [
"statusCode",
"responseTime"
]
}Release applied discountPOST/shoppingCart/releaseDiscount{?discount,items,token,totalCharges}
Use this service to release an already applied discount from the given seats.
- discount
DiscountType(required) Example: ´discount´- items
array[number](required) Example: 10, 12, 15- token
string(required) Example: 188a5cf2a844e684375172cb1cf2bbf3- totalCharges
number(optional) Example: 120
Release Promotion ¶
Headers
Authorization: Bearer [ACCESS_TOKEN]
Content-Type: application/json
Accept: application/json- Headers
traceID:
String: Unique id to identify the transaction within the Onebox API audit systemOB_Error_Code:Number: This is the Onebox error codes. Get the full list here: [go to Onebox error responses](http://developer.oneboxtickets.com/httpresponsecodes.html)
Headers
Content-Type: application/json;charset=UTF-8Body
{
"client": {
"@id": 123,
"name": "First name",
"lastname": "Last name",
"$": "1970-01-01",
"email": "email@domain.com",
"receiptMail": "email@domain.com",
"ticketMail": "email@domain.com",
"phone": "0034 555 55 55",
"identification": {
"value": "",
"@type": ""
},
"gender": "NOT_DEFINED",
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
},
"profile-data": {
"@`profile-id`": 123,
"profile-field": [
{
"@`field-id`": 123,
"idValue": [],
"user-input-value": []
}
]
},
"language": {
"value": "",
"@code": ""
},
"groupValidation": [
{
"@idGroup": 123,
"user": "",
"promotionalCode": "",
"externalProperties": {}
}
]
},
"shoppingCartItem": [
{
"shopping-cart-item": {
"ticket-data": {},
"product-data": {
"venue": {
"@id": 432432,
"@name": "World Park",
"@timeZone": "Europe/Berlin",
"communication-elements": {
"@language": "en_US",
"images": [
{
"@type": "LOGO_WEB",
"@order": 1,
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"videos": [
{
"@type": "VIDEO",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"files": [
{
"@type": "FILE",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"banners": [
{
"@type": "CHANNEL_PURCHASE_HEADER_BANNER",
"imageUrl": "https://s3.amazonaws.com/onebox-repository/pro/1/1/itemIdioma/1741/1_image_1340695930723.jpg",
"linkUrl": "http://www.website.com/channel_id"
}
]
},
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
}
},
"product-info": {
"@id": 10,
"internalName": "",
"name": "",
"dates": {
"datetime": [
{
"@type": "EVENT_BEGIN",
"@pendingConfirmation": false,
"@timeZoneId": "Europe/Berlin",
"$": "2018-01-07T19:00:00.000+01:00"
}
]
},
"venue": {
"@id": 432432,
"@name": "World Park",
"@timeZone": "Europe/Berlin",
"communication-elements": {
"@language": "en_US",
"images": [
{
"@type": "LOGO_WEB",
"@order": 1,
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"videos": [
{
"@type": "VIDEO",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"files": [
{
"@type": "FILE",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"banners": [
{
"@type": "CHANNEL_PURCHASE_HEADER_BANNER",
"imageUrl": "https://s3.amazonaws.com/onebox-repository/pro/1/1/itemIdioma/1741/1_image_1340695930723.jpg",
"linkUrl": "http://www.website.com/channel_id"
}
]
},
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
}
},
"catalog-info": {
"entityId": 0,
"name": ""
},
"attributes": {
"attribute": [
{
"@id": 10,
"name": ""
}
]
},
"product-image": [],
"forSale": false,
"bookable": false,
"product-variant": [
{
"id": 10,
"sku": "",
"price-breakdown": {
"base-price": 10,
"automatic-promotion": 0,
"manual-promotion": 0,
"manual-discount": 0,
"client-discount": 0,
"client-comission": 0,
"charges": {
"charge": [
{
"@type": "CHANNEL_CHARGE",
"value 1.5": 0
}
]
},
"delivery-costs": 0,
"insurance": 0,
"taxes": {
"tax": [
{
"@id": 10,
"value": 0
}
]
},
"final-price": 20
},
"limited-stock": false,
"variant-availability": 0,
"variant-attributes": {
"variant-attribute": [
{
"attribute": {
"@id": 10,
"name": ""
},
"value": ""
}
]
},
"venue": {
"@id": 432432,
"@name": "World Park",
"@timeZone": "Europe/Berlin",
"communication-elements": {
"@language": "en_US",
"images": [
{
"@type": "LOGO_WEB",
"@order": 1,
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"videos": [
{
"@type": "VIDEO",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"files": [
{
"@type": "FILE",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"banners": [
{
"@type": "CHANNEL_PURCHASE_HEADER_BANNER",
"imageUrl": "https://s3.amazonaws.com/onebox-repository/pro/1/1/itemIdioma/1741/1_image_1340695930723.jpg",
"linkUrl": "http://www.website.com/channel_id"
}
]
},
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
}
},
"catalog-info": {
"entityId": 0,
"name": ""
},
"product-info": {
"@id": 10,
"internalName": "",
"name": "",
"dates": {
"datetime": [
{
"@type": "EVENT_BEGIN",
"@pendingConfirmation": false,
"@timeZoneId": "Europe/Berlin",
"$": "2018-01-07T19:00:00.000+01:00"
}
]
},
"venue": {
"@id": 432432,
"@name": "World Park",
"@timeZone": "Europe/Berlin",
"communication-elements": {
"@language": "en_US",
"images": [
{
"@type": "LOGO_WEB",
"@order": 1,
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"videos": [
{
"@type": "VIDEO",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"files": [
{
"@type": "FILE",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"banners": [
{
"@type": "CHANNEL_PURCHASE_HEADER_BANNER",
"imageUrl": "https://s3.amazonaws.com/onebox-repository/pro/1/1/itemIdioma/1741/1_image_1340695930723.jpg",
"linkUrl": "http://www.website.com/channel_id"
}
]
},
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
}
},
"catalog-info": {
"entityId": 0,
"name": ""
},
"attributes": {
"attribute": [
{
"@id": 10,
"name": ""
}
]
},
"product-image": [],
"forSale": false,
"bookable": false,
"product-variant": []
}
}
]
},
"variant-attributes": {
"variant-attribute": [
{
"attribute": {
"@id": 10,
"name": ""
},
"value": ""
}
]
},
"printouts": 0,
"cancellations": 0,
"status": "PURCHASED",
"sku": "",
"customer": {
"@id": 123,
"name": "First name",
"lastname": "Last name",
"$": "1970-01-01",
"email": "email@domain.com",
"receiptMail": "email@domain.com",
"ticketMail": "email@domain.com",
"phone": "0034 555 55 55",
"identification": {
"value": "",
"@type": ""
},
"gender": "NOT_DEFINED",
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
},
"profile-data": {
"@`profile-id`": 123,
"profile-field": [
{
"@`field-id`": 123,
"idValue": [],
"user-input-value": []
}
]
},
"language": {
"value": "",
"@code": ""
},
"groupValidation": [
{
"@idGroup": 123,
"user": "",
"promotionalCode": "",
"externalProperties": {}
}
]
},
"session-basic-info": {
"@id": 5553432,
"internalName": "7 days 1 park",
"name": "7 days 1 park",
"description": "<P ALIGN=\\\"LEFT\\\">Six amazing worlds in just one Park, perfect for having fun in family and frends as well.</P>",
"dates": {
"datetime": [
{
"@type": "EVENT_BEGIN",
"@pendingConfirmation": false,
"@timeZoneId": "Europe/Berlin",
"$": "2018-01-07T19:00:00.000+01:00"
}
]
},
"venue": {
"@id": 432432,
"@name": "World Park",
"@timeZone": "Europe/Berlin",
"communication-elements": {
"@language": "en_US",
"images": [
{
"@type": "LOGO_WEB",
"@order": 1,
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"videos": [
{
"@type": "VIDEO",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"files": [
{
"@type": "FILE",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"banners": [
{
"@type": "CHANNEL_PURCHASE_HEADER_BANNER",
"imageUrl": "https://s3.amazonaws.com/onebox-repository/pro/1/1/itemIdioma/1741/1_image_1340695930723.jpg",
"linkUrl": "http://www.website.com/channel_id"
}
]
},
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
}
},
"space": {
"id": 150,
"name": "SPACE"
},
"event-basic-info": {
"@id": 23454,
"internalName": "7 days 1 park",
"externalReferenceCode": "EXT-123",
"title": "Theme Park",
"subtitle": "¡Discover the 6 worlds adrenaline!",
"shortDescription": "<P ALIGN=\\\"LEFT\\\">Six amazing worlds in just one Park, perfect for having fun in family and frends as well.</P>",
"longDescription": "<P ALIGN=\\\"LEFT\\\">Explore a whole world of fun and know our amazing theme parks. An ideal destination for a family getaway, located in one of the best tourist areas of Spain and just an hour from Barcelona! </ P> <BR/> <P ALIGN = \\ \"LEFT \\\"> The best entertainment, relaxation, gastronomy and shopping you can imagine. > A DESTINY AND SIX WORLDS TO DISCOVER </ P> <P ALIGN = \\ \"LEFT \\\"> Here begins a journey that takes you much further than you can imagine. At the Park we look forward to six fascinating worlds completely different, with a careful decoration to the last detail, so that you enjoy to the maximum. Emotions for all tastes. Families, friends, big and small: in our theme park, all the fun.</P>",
"additionalEventData": "",
"duration": "",
"communication-elements": {
"@language": "en_US",
"images": [
{
"@type": "LOGO_WEB",
"@order": 1,
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"videos": [
{
"@type": "VIDEO",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"files": [
{
"@type": "FILE",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"banners": [
{
"@type": "CHANNEL_PURCHASE_HEADER_BANNER",
"imageUrl": "https://s3.amazonaws.com/onebox-repository/pro/1/1/itemIdioma/1741/1_image_1340695930723.jpg",
"linkUrl": "http://www.website.com/channel_id"
}
]
},
"taxonomy": {
"@id": 68,
"code": "APRTEM",
"description": "Theme Parks",
"superior-taxonomy": {
"@id": 68,
"code": "APRTEM",
"description": "Theme Parks"
}
},
"custom-taxonomy": {
"@id": 68,
"code": "APRTEM",
"description": "Theme Parks"
},
"promoter-custom-taxonomy": {
"@id": 68,
"code": "APRTEM",
"description": "Theme Parks"
},
"languages": {
"language": [
"",
"ca_ES"
]
},
"dates": {
"datetime": [
{
"@type": "EVENT_BEGIN",
"@pendingConfirmation": false,
"@timeZoneId": "Europe/Berlin",
"$": "2018-01-07T19:00:00.000+01:00"
}
]
},
"entidad": {
"@id": 123,
"name": "Theme Park",
"nif": "A54343234",
"email": "info@theme.park",
"phoneNumber": "0034 555 55 55",
"timeZone": "Europe/Madrid",
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
}
},
"promotor": {
"@id": 475,
"corporateName": "Theme Park Entertainment SA.",
"fiscalCode": "A53776307",
"email": "info@theme.park",
"phoneNumber": "0034 555 55 55",
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
}
},
"tour": {
"@id": 475,
"name": "Theme Park",
"promotorReference": "Theme Park Entertainment SA."
},
"severalVenues": false,
"severalLocations": false,
"supraEvent": false,
"giftTicket": false,
"nominal": false,
"eventType": "EVENT",
"attribute-values": [
{
"attribute-info": {
"id": 0,
"name": "",
"selection": "SINGLE",
"domain-value-info": [
{
"idValue": 10,
"value": "oneboxtm",
"referenceCode": "OB"
}
],
"domain": "EVENT",
"valueType": "DOMAIN_VALUE",
"referenceCode": "Attr"
},
"attribute-value": [
{
"user-input-value": {},
"domain-value": {
"value": "``",
"idValue": 30
}
}
],
"idAttribute": 50,
"description": "DESCRIPTION"
}
],
"passbookPreferences": {
"communication-elements": {
"@language": "en_US",
"images": [
{
"@type": "LOGO_WEB",
"@order": 1,
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"videos": [
{
"@type": "VIDEO",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"files": [
{
"@type": "FILE",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"banners": [
{
"@type": "CHANNEL_PURCHASE_HEADER_BANNER",
"imageUrl": "https://s3.amazonaws.com/onebox-repository/pro/1/1/itemIdioma/1741/1_image_1340695930723.jpg",
"linkUrl": "http://www.website.com/channel_id"
}
]
}
},
"clientEventDiscount": {
"discountType": "AMOUNT"
}
},
"forSale": true,
"blockingReasons": "",
"hasProducts": false,
"admission": "ALL_AGES_ADMITTED",
"supportedEventType": "EVENT",
"supportedVisitorType": "INDIVIDUAL",
"attribute-values": [
{
"attribute-info": {
"id": 0,
"name": "",
"selection": "SINGLE",
"domain-value-info": [
{
"idValue": 10,
"value": "oneboxtm",
"referenceCode": "OB"
}
],
"domain": "EVENT",
"valueType": "DOMAIN_VALUE",
"referenceCode": "Attr"
},
"attribute-value": [
{
"user-input-value": {},
"domain-value": {
"value": "``",
"idValue": 30
}
}
],
"idAttribute": 50,
"description": "DESCRIPTION"
}
],
"visitorGroupConfig": "",
"hideSessionDates": false,
"showDate": false,
"showDatetime": false,
"@rates": "7 days 1 park UK/PAP17",
"season-session-info": {
"beginDate": "2015-09-01T12:00:00+01:00",
"endDate": "2015-10-01T12:00:00+01:00",
"idsSeasonSessions": [],
"seasonSessions": {
"@id": 5553432,
"internalName": "7 days 1 park",
"name": "7 days 1 park",
"description": "<P ALIGN=\\\"LEFT\\\">Six amazing worlds in just one Park, perfect for having fun in family and frends as well.</P>",
"dates": {
"datetime": [
{
"@type": "EVENT_BEGIN",
"@pendingConfirmation": false,
"@timeZoneId": "Europe/Berlin",
"$": "2018-01-07T19:00:00.000+01:00"
}
]
},
"venue": {
"@id": 432432,
"@name": "World Park",
"@timeZone": "Europe/Berlin",
"communication-elements": {
"@language": "en_US",
"images": [
{
"@type": "LOGO_WEB",
"@order": 1,
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"videos": [
{
"@type": "VIDEO",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"files": [
{
"@type": "FILE",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"banners": [
{
"@type": "CHANNEL_PURCHASE_HEADER_BANNER",
"imageUrl": "https://s3.amazonaws.com/onebox-repository/pro/1/1/itemIdioma/1741/1_image_1340695930723.jpg",
"linkUrl": "http://www.website.com/channel_id"
}
]
},
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
}
},
"space": {
"id": 150,
"name": "SPACE"
},
"event-basic-info": {
"@id": 23454,
"internalName": "7 days 1 park",
"externalReferenceCode": "EXT-123",
"title": "Theme Park",
"subtitle": "¡Discover the 6 worlds adrenaline!",
"shortDescription": "<P ALIGN=\\\"LEFT\\\">Six amazing worlds in just one Park, perfect for having fun in family and frends as well.</P>",
"longDescription": "<P ALIGN=\\\"LEFT\\\">Explore a whole world of fun and know our amazing theme parks. An ideal destination for a family getaway, located in one of the best tourist areas of Spain and just an hour from Barcelona! </ P> <BR/> <P ALIGN = \\ \"LEFT \\\"> The best entertainment, relaxation, gastronomy and shopping you can imagine. > A DESTINY AND SIX WORLDS TO DISCOVER </ P> <P ALIGN = \\ \"LEFT \\\"> Here begins a journey that takes you much further than you can imagine. At the Park we look forward to six fascinating worlds completely different, with a careful decoration to the last detail, so that you enjoy to the maximum. Emotions for all tastes. Families, friends, big and small: in our theme park, all the fun.</P>",
"additionalEventData": "",
"duration": "",
"communication-elements": {
"@language": "en_US",
"images": [
{
"@type": "LOGO_WEB",
"@order": 1,
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"videos": [
{
"@type": "VIDEO",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"files": [
{
"@type": "FILE",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"banners": [
{
"@type": "CHANNEL_PURCHASE_HEADER_BANNER",
"imageUrl": "https://s3.amazonaws.com/onebox-repository/pro/1/1/itemIdioma/1741/1_image_1340695930723.jpg",
"linkUrl": "http://www.website.com/channel_id"
}
]
},
"taxonomy": {
"@id": 68,
"code": "APRTEM",
"description": "Theme Parks",
"superior-taxonomy": {
"@id": 68,
"code": "APRTEM",
"description": "Theme Parks"
}
},
"custom-taxonomy": {
"@id": 68,
"code": "APRTEM",
"description": "Theme Parks"
},
"promoter-custom-taxonomy": {
"@id": 68,
"code": "APRTEM",
"description": "Theme Parks"
},
"languages": {
"language": [
"",
"ca_ES"
]
},
"dates": {
"datetime": [
{
"@type": "EVENT_BEGIN",
"@pendingConfirmation": false,
"@timeZoneId": "Europe/Berlin",
"$": "2018-01-07T19:00:00.000+01:00"
}
]
},
"entidad": {
"@id": 123,
"name": "Theme Park",
"nif": "A54343234",
"email": "info@theme.park",
"phoneNumber": "0034 555 55 55",
"timeZone": "Europe/Madrid",
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
}
},
"promotor": {
"@id": 475,
"corporateName": "Theme Park Entertainment SA.",
"fiscalCode": "A53776307",
"email": "info@theme.park",
"phoneNumber": "0034 555 55 55",
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
}
},
"tour": {
"@id": 475,
"name": "Theme Park",
"promotorReference": "Theme Park Entertainment SA."
},
"severalVenues": false,
"severalLocations": false,
"supraEvent": false,
"giftTicket": false,
"nominal": false,
"eventType": "EVENT",
"attribute-values": [
{
"attribute-info": {
"id": 0,
"name": "",
"selection": "SINGLE",
"domain-value-info": [
{
"idValue": 10,
"value": "oneboxtm",
"referenceCode": "OB"
}
],
"domain": "EVENT",
"valueType": "DOMAIN_VALUE",
"referenceCode": "Attr"
},
"attribute-value": [
{
"user-input-value": {},
"domain-value": {
"value": "``",
"idValue": 30
}
}
],
"idAttribute": 50,
"description": "DESCRIPTION"
}
],
"passbookPreferences": {
"communication-elements": {
"@language": "en_US",
"images": [
{
"@type": "LOGO_WEB",
"@order": 1,
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"videos": [
{
"@type": "VIDEO",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"files": [
{
"@type": "FILE",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"banners": [
{
"@type": "CHANNEL_PURCHASE_HEADER_BANNER",
"imageUrl": "https://s3.amazonaws.com/onebox-repository/pro/1/1/itemIdioma/1741/1_image_1340695930723.jpg",
"linkUrl": "http://www.website.com/channel_id"
}
]
}
},
"clientEventDiscount": {
"discountType": "AMOUNT"
}
},
"forSale": true,
"blockingReasons": "",
"hasProducts": false,
"admission": "ALL_AGES_ADMITTED",
"supportedEventType": "EVENT",
"supportedVisitorType": "INDIVIDUAL",
"attribute-values": [
{
"attribute-info": {
"id": 0,
"name": "",
"selection": "SINGLE",
"domain-value-info": [
{
"idValue": 10,
"value": "oneboxtm",
"referenceCode": "OB"
}
],
"domain": "EVENT",
"valueType": "DOMAIN_VALUE",
"referenceCode": "Attr"
},
"attribute-value": [
{
"user-input-value": {},
"domain-value": {
"value": "``",
"idValue": 30
}
}
],
"idAttribute": 50,
"description": "DESCRIPTION"
}
],
"visitorGroupConfig": "",
"hideSessionDates": false,
"showDate": false,
"showDatetime": false,
"@rates": "7 days 1 park UK/PAP17",
"season-session-info": {}
},
"@isSeasonSession": 0
}
},
"event-basic-info": {
"@id": 23454,
"internalName": "7 days 1 park",
"externalReferenceCode": "EXT-123",
"title": "Theme Park",
"subtitle": "¡Discover the 6 worlds adrenaline!",
"shortDescription": "<P ALIGN=\\\"LEFT\\\">Six amazing worlds in just one Park, perfect for having fun in family and frends as well.</P>",
"longDescription": "<P ALIGN=\\\"LEFT\\\">Explore a whole world of fun and know our amazing theme parks. An ideal destination for a family getaway, located in one of the best tourist areas of Spain and just an hour from Barcelona! </ P> <BR/> <P ALIGN = \\ \"LEFT \\\"> The best entertainment, relaxation, gastronomy and shopping you can imagine. > A DESTINY AND SIX WORLDS TO DISCOVER </ P> <P ALIGN = \\ \"LEFT \\\"> Here begins a journey that takes you much further than you can imagine. At the Park we look forward to six fascinating worlds completely different, with a careful decoration to the last detail, so that you enjoy to the maximum. Emotions for all tastes. Families, friends, big and small: in our theme park, all the fun.</P>",
"additionalEventData": "",
"duration": "",
"communication-elements": {
"@language": "en_US",
"images": [
{
"@type": "LOGO_WEB",
"@order": 1,
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"videos": [
{
"@type": "VIDEO",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"files": [
{
"@type": "FILE",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"banners": [
{
"@type": "CHANNEL_PURCHASE_HEADER_BANNER",
"imageUrl": "https://s3.amazonaws.com/onebox-repository/pro/1/1/itemIdioma/1741/1_image_1340695930723.jpg",
"linkUrl": "http://www.website.com/channel_id"
}
]
},
"taxonomy": {
"@id": 68,
"code": "APRTEM",
"description": "Theme Parks",
"superior-taxonomy": {
"@id": 68,
"code": "APRTEM",
"description": "Theme Parks"
}
},
"custom-taxonomy": {
"@id": 68,
"code": "APRTEM",
"description": "Theme Parks"
},
"promoter-custom-taxonomy": {
"@id": 68,
"code": "APRTEM",
"description": "Theme Parks"
},
"languages": {
"language": [
"",
"ca_ES"
]
},
"dates": {
"datetime": [
{
"@type": "EVENT_BEGIN",
"@pendingConfirmation": false,
"@timeZoneId": "Europe/Berlin",
"$": "2018-01-07T19:00:00.000+01:00"
}
]
},
"entidad": {
"@id": 123,
"name": "Theme Park",
"nif": "A54343234",
"email": "info@theme.park",
"phoneNumber": "0034 555 55 55",
"timeZone": "Europe/Madrid",
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
}
},
"promotor": {
"@id": 475,
"corporateName": "Theme Park Entertainment SA.",
"fiscalCode": "A53776307",
"email": "info@theme.park",
"phoneNumber": "0034 555 55 55",
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
}
},
"tour": {
"@id": 475,
"name": "Theme Park",
"promotorReference": "Theme Park Entertainment SA."
},
"severalVenues": false,
"severalLocations": false,
"supraEvent": false,
"giftTicket": false,
"nominal": false,
"eventType": "EVENT",
"attribute-values": [
{
"attribute-info": {
"id": 0,
"name": "",
"selection": "SINGLE",
"domain-value-info": [
{
"idValue": 10,
"value": "oneboxtm",
"referenceCode": "OB"
}
],
"domain": "EVENT",
"valueType": "DOMAIN_VALUE",
"referenceCode": "Attr"
},
"attribute-value": [
{
"user-input-value": {},
"domain-value": {
"value": "``",
"idValue": 30
}
}
],
"idAttribute": 50,
"description": "DESCRIPTION"
}
],
"passbookPreferences": {
"communication-elements": {
"@language": "en_US",
"images": [
{
"@type": "LOGO_WEB",
"@order": 1,
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"videos": [
{
"@type": "VIDEO",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"files": [
{
"@type": "FILE",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"banners": [
{
"@type": "CHANNEL_PURCHASE_HEADER_BANNER",
"imageUrl": "https://s3.amazonaws.com/onebox-repository/pro/1/1/itemIdioma/1741/1_image_1340695930723.jpg",
"linkUrl": "http://www.website.com/channel_id"
}
]
}
},
"clientEventDiscount": {
"discountType": "AMOUNT"
}
},
"automatic": "",
"promotion": {
"@id": 10,
"activator": "",
"promotionComElements": {
"name": "NAME",
"description": "DESCRIPTION"
}
},
"discount": {
"@id": 10,
"activator": "",
"promotionComElements": {
"name": "NAME",
"description": "DESCRIPTION"
}
},
"productAcquisitionType": "GENERAL"
},
"automatic-protmotion": {
"@id": 30,
"promotionComElements": {
"name": "NAME",
"description": "DESCRIPTION"
},
"type": "PERCENTAGE",
"value": 10,
"priceZonesIds": {
"priceZonesId": [
10,
12,
15
]
},
"group": {
"i@d": 30,
"name": "NAME",
"validationType": "CHANNEL",
"validationMethod": "PROMOTIONAL_CODE"
},
"limitedUses": false
},
"promotion": {
"@id": 30,
"promotionComElements": {
"name": "NAME",
"description": "DESCRIPTION"
},
"type": "PERCENTAGE",
"value": 10,
"priceZonesIds": {
"priceZonesId": [
10,
12,
15
]
},
"group": {
"i@d": 30,
"name": "NAME",
"validationType": "CHANNEL",
"validationMethod": "PROMOTIONAL_CODE"
},
"restrictions": {
"packItems": 0,
"maxItems": 0,
"minItems": 0
},
"mandatory": false,
"self-managed": false,
"limitedUses": false,
"dates": {
"datetime": [
{
"@type": "EVENT_BEGIN",
"@pendingConfirmation": false,
"@timeZoneId": "Europe/Berlin",
"$": "2018-01-07T19:00:00.000+01:00"
}
]
}
},
"promotionActivator": "",
"productId": 0,
"discount": {
"@id": 30,
"promotionComElements": {
"name": "NAME",
"description": "DESCRIPTION"
},
"type": "PERCENTAGE",
"value": 10,
"priceZonesIds": {
"priceZonesId": [
10,
12,
15
]
},
"group": {
"i@d": 30,
"name": "NAME",
"validationType": "CHANNEL",
"validationMethod": "PROMOTIONAL_CODE"
},
"restrictions": {
"packItems": 0,
"maxItems": 0,
"minItems": 0
},
"mandatory": false,
"self-managed": false,
"limitedUses": false,
"dates": {
"datetime": [
{
"@type": "EVENT_BEGIN",
"@pendingConfirmation": false,
"@timeZoneId": "Europe/Berlin",
"$": "2018-01-07T19:00:00.000+01:00"
}
]
}
},
"discountActivator'": "",
"price": "",
"operationsAllowed": {
"printInvoice": false
},
"attendant": {
"field": [
{
"@name": "",
"@value": ""
}
],
"clientDiscount": {
"@value": 0,
"type": "PERCENT"
},
"clientCommission": {
"@value": 0,
"type": "PERCENT"
}
},
"itemWarning": [
"",
"SESSION_NON_CONSECUTIVE_SEAT"
],
"modifyingBookingOrderCode": "",
"clientConiditions": {
"@id": 123
},
"@id": 0,
"@type": "TICKET"
}
}
],
"deliveryMethod": 0,
"deliveryCosts": 0,
"insurance": {
"@id": 123,
"name": "",
"description": "",
"privacyPolicy": "",
"termsOfUse": "",
"additionalData": ""
},
"visitorGroup": [
{
"@id": 123,
"name": "",
"numAttendants": 0,
"numAccompanists": 0,
"attribute-values": [
{
"attribute-info": {
"id": 0,
"name": "",
"selection": "SINGLE",
"domain-value-info": [
{
"idValue": 10,
"value": "oneboxtm",
"referenceCode": "OB"
}
],
"domain": "EVENT",
"valueType": "DOMAIN_VALUE",
"referenceCode": "Attr"
},
"attribute-value": [
{
"user-input-value": {},
"domain-value": {
"value": "``",
"idValue": 30
}
}
],
"idAttribute": 50,
"description": "DESCRIPTION"
}
]
}
],
"totalPriceBreakdown": {
"base-price": 10,
"automatic-promotion": 0,
"manual-promotion": 0,
"manual-discount": 0,
"client-discount": 0,
"client-comission": 0,
"charges": {
"charge": [
{
"@type": "CHANNEL_CHARGE",
"value 1.5": 0
}
]
},
"delivery-costs": 0,
"insurance": 0,
"taxes": {
"tax": [
{
"@id": 10,
"value": 0
}
]
},
"final-price": 20
},
"platformClient": {
"id": 123,
"name": "",
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
},
"clientB2B": {
"businessName": "",
"description": "",
"iataCode": "",
"taxId": "",
"tags": "",
"clientB2BBranch": {
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
},
"contactName": "",
"contactEmail": "",
"contactPhone": "",
"@main": false
},
"user": {
"@id": 123,
"name": "",
"email": "",
"username": ""
},
"@category": 0
},
"type": "B2B"
},
"@token": "",
"@currency": "",
"@timeleft": 0
}Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"client": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique customer identifier."
},
"name": {
"type": "string"
},
"lastname": {
"type": "string"
},
"$": {
"type": "string"
},
"email": {
"type": "string"
},
"receiptMail": {
"type": "string"
},
"ticketMail": {
"type": "string"
},
"phone": {
"type": "string"
},
"identification": {
"type": "object",
"properties": {
"value": {
"type": "string"
},
"@type": {
"type": "string"
}
},
"required": [
"value",
"@type"
]
},
"gender": {
"type": "string",
"enum": [
"NOT_DEFINED",
"MALE",
"FEMALE"
]
},
"location": {
"type": "object",
"properties": {
"address": {
"type": "string",
"description": "Venue address where the event will be performed."
},
"city": {
"type": "string",
"description": "City where the event will be performed."
},
"postalCode": {
"type": "string",
"description": "Postal code or zip code where the event will be performed."
},
"countrySubdivision": {
"type": "object",
"properties": {
"@code": {
"type": "string",
"description": "Item unique identifier."
},
"$": {
"type": "string",
"description": "Item value string."
}
},
"required": [
"@code",
"$"
],
"description": "`Country subdivision, this shall be the province, state or county. Ie: ES-T - Tarragona.`"
},
"country": {
"type": "object",
"properties": {
"@code": {
"type": "string",
"description": "Item unique identifier."
},
"$": {
"type": "string",
"description": "Item value string."
}
},
"required": [
"@code",
"$"
],
"description": "`Ie: ES - Spain.`"
},
"coordinates": {
"type": "string"
}
},
"required": [
"address",
"city",
"postalCode",
"countrySubdivision",
"country"
]
},
"idCard": {
"type": "string"
},
"docType": {
"type": "number"
},
"profile-data": {
"type": "object",
"properties": {
"@`profile-id`": {
"type": "number",
"description": "Unique profile data identifier."
},
"profile-field": {
"type": "array"
}
},
"required": [
"@`profile-id`"
]
},
"language": {
"type": "object",
"properties": {
"value": {
"type": "string"
},
"@code": {
"type": "string"
}
},
"required": [
"value",
"@code"
]
},
"groupValidation": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@idGroup": {
"type": "number",
"description": "Unique group validation identifier."
},
"user": {
"type": "string"
},
"promotionalCode": {
"type": "string"
},
"externalProperties": {
"type": "object",
"properties": {
"externalId": {
"type": "string"
}
}
}
},
"required": [
"@idGroup",
"user",
"promotionalCode"
]
}
},
"allowCommercialMailing": {
"type": "boolean"
}
},
"required": [
"@id",
"name",
"lastname",
"$",
"gender",
"location"
]
},
"shoppingCartItem": {
"type": "array"
},
"deliveryMethod": {
"type": "number"
},
"deliveryCosts": {
"type": "number"
},
"insurance": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique insurance identifier."
},
"name": {
"type": "string"
},
"description": {
"type": "string"
},
"privacyPolicy": {
"type": "string"
},
"termsOfUse": {
"type": "string"
},
"additionalData": {
"type": "string"
}
},
"required": [
"@id",
"name",
"description",
"privacyPolicy",
"termsOfUse",
"additionalData"
]
},
"visitorGroup": {
"type": "array"
},
"totalPriceBreakdown": {
"type": "object",
"properties": {
"base-price": {
"type": "number"
},
"automatic-promotion": {
"type": "number"
},
"manual-promotion": {
"type": "number"
},
"manual-discount": {
"type": "number"
},
"client-discount": {
"type": "number"
},
"client-comission": {
"type": "number"
},
"charges": {
"type": "object",
"properties": {
"charge": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"enum": [
"CHANNEL_CHARGE",
"PROMOTER_CHARGE",
"PROMOTER_CHANNEL_CHARGE"
]
},
"value 1.5": {
"type": "number",
"description": "Value of the charge."
}
},
"required": [
"value 1.5"
]
}
}
},
"required": [
"charge"
]
},
"delivery-costs": {
"type": "number"
},
"insurance": {
"type": "number"
},
"taxes": {
"type": "object",
"properties": {
"tax": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique product identifier."
},
"value": {
"type": "number"
}
},
"required": [
"@id",
"value"
]
}
}
},
"required": [
"tax"
]
},
"final-price": {
"type": "number"
}
},
"required": [
"base-price",
"final-price"
]
},
"platformClient": {
"type": "object",
"properties": {
"id": {
"type": "number",
"description": "Unique platform client identifier."
},
"name": {
"type": "string"
},
"location": {
"type": "object",
"properties": {
"address": {
"type": "string",
"description": "Venue address where the event will be performed."
},
"city": {
"type": "string",
"description": "City where the event will be performed."
},
"postalCode": {
"type": "string",
"description": "Postal code or zip code where the event will be performed."
},
"countrySubdivision": {
"type": "object",
"properties": {
"@code": {
"type": "string",
"description": "Item unique identifier."
},
"$": {
"type": "string",
"description": "Item value string."
}
},
"required": [
"@code",
"$"
],
"description": "`Country subdivision, this shall be the province, state or county. Ie: ES-T - Tarragona.`"
},
"country": {
"type": "object",
"properties": {
"@code": {
"type": "string",
"description": "Item unique identifier."
},
"$": {
"type": "string",
"description": "Item value string."
}
},
"required": [
"@code",
"$"
],
"description": "`Ie: ES - Spain.`"
},
"coordinates": {
"type": "string"
}
},
"required": [
"address",
"city",
"postalCode",
"countrySubdivision",
"country"
]
},
"clientB2B": {
"type": "object",
"properties": {
"businessName": {
"type": "string"
},
"description": {
"type": "string"
},
"iataCode": {
"type": "string"
},
"taxId": {
"type": "string"
},
"tags": {
"type": "string"
},
"clientB2BBranch": {
"type": "object",
"properties": {
"location": {
"type": "object",
"properties": {
"address": {
"type": "string",
"description": "Venue address where the event will be performed."
},
"city": {
"type": "string",
"description": "City where the event will be performed."
},
"postalCode": {
"type": "string",
"description": "Postal code or zip code where the event will be performed."
},
"countrySubdivision": {
"type": "object",
"properties": {
"@code": {
"type": "string",
"description": "Item unique identifier."
},
"$": {
"type": "string",
"description": "Item value string."
}
},
"required": [
"@code",
"$"
],
"description": "`Country subdivision, this shall be the province, state or county. Ie: ES-T - Tarragona.`"
},
"country": {
"type": "object",
"properties": {
"@code": {
"type": "string",
"description": "Item unique identifier."
},
"$": {
"type": "string",
"description": "Item value string."
}
},
"required": [
"@code",
"$"
],
"description": "`Ie: ES - Spain.`"
},
"coordinates": {
"type": "string"
}
},
"required": [
"address",
"city",
"postalCode",
"countrySubdivision",
"country"
]
},
"contactName": {
"type": "string"
},
"contactEmail": {
"type": "string"
},
"contactPhone": {
"type": "string"
},
"@main": {
"type": "boolean"
}
},
"required": [
"location",
"contactName",
"contactEmail",
"contactPhone",
"@main"
]
},
"user": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique user identifier."
},
"name": {
"type": "string"
},
"email": {
"type": "string"
},
"username": {
"type": "string"
}
},
"required": [
"@id",
"name",
"email",
"username"
]
},
"@category": {
"type": "number"
}
},
"required": [
"businessName",
"description",
"iataCode",
"taxId",
"tags",
"clientB2BBranch",
"user"
]
},
"type": {
"type": "string",
"enum": [
"B2B",
"B2C"
]
}
},
"required": [
"id",
"name"
]
},
"@token": {
"type": "string"
},
"@currency": {
"type": "string"
},
"@timeleft": {
"type": "number"
}
},
"required": [
"client",
"shoppingCartItem",
"visitorGroup",
"totalPriceBreakdown",
"platformClient",
"@token",
"@currency",
"@timeleft"
]
}Headers
Content-Type: application/json;charset=UTF-8Body
{
"error": "Bad request",
"error_description": "There was a syntax error, check your params request and try it again."
}Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"error": {
"type": "string",
"description": "Short http error code description"
},
"error_description": {
"type": "string",
"description": "Detailed description of the error returned."
}
},
"required": [
"error",
"error_description"
]
}Headers
Content-Type: application/json;charset=UTF-8Body
{
"error": "Unauthorized",
"error_description": "Full authentication is required to access this resource"
}Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"error": {
"type": "string",
"description": "Short http error code description."
},
"error_description": {
"type": "string",
"description": "Detailed description of the error returned."
}
},
"required": [
"error",
"error_description"
]
}Headers
Content-Type: application/json;charset=UTF-8Body
{
"statusCode": 1010,
"responseTime": "08-03-2017 13:46:03.657"
}Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"statusCode": {
"type": "number",
"description": "This is the Onebox error codes. Get the full list here: [go to Onebox error responses](http://developer.oneboxtickets.com/httpresponsecodes.html)"
},
"responseTime": {
"type": "string"
}
},
"required": [
"statusCode",
"responseTime"
]
}Release applied promotionPOST/shoppingCart/releasePromotion{?promotion,items,token,totalCharges}
Use this service to release an already applied promotion from the given seats.
- promotion
PromotionType(required) Example: ´promotion´- items
array[number](required) Example: 10, 12, 15- token
string(required) Example: 188a5cf2a844e684375172cb1cf2bbf3- totalCharges
number(optional) Example: 120
Client Data ¶
Headers
Authorization: Bearer [ACCESS_TOKEN]
Content-Type: application/x-www-form-urlencoded
Accept: application/jsonHeaders
Content-Type: application/json;charset=UTF-8
traceID: `String: Unique id to identify the transaction within the Onebox API audit system`
OB_Error_Code: `Number: This is the Onebox error codes. Get the full list here: [go to Onebox error responses](http://developer.oneboxtickets.com/httpresponsecodes.html)`Body
{
"client": {
"@id": 123,
"name": "First name",
"lastname": "Last name",
"$": "1970-01-01",
"email": "email@domain.com",
"receiptMail": "email@domain.com",
"ticketMail": "email@domain.com",
"phone": "0034 555 55 55",
"identification": {
"value": "",
"@type": ""
},
"gender": "NOT_DEFINED",
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
},
"profile-data": {
"@`profile-id`": 123,
"profile-field": [
{
"@`field-id`": 123,
"idValue": [],
"user-input-value": []
}
]
},
"language": {
"value": "",
"@code": ""
},
"groupValidation": [
{
"@idGroup": 123,
"user": "",
"promotionalCode": "",
"externalProperties": {}
}
]
},
"shoppingCartItem": [
{
"shopping-cart-item": {
"ticket-data": {},
"product-data": {
"venue": {
"@id": 432432,
"@name": "World Park",
"@timeZone": "Europe/Berlin",
"communication-elements": {
"@language": "en_US",
"images": [
{
"@type": "LOGO_WEB",
"@order": 1,
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"videos": [
{
"@type": "VIDEO",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"files": [
{
"@type": "FILE",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"banners": [
{
"@type": "CHANNEL_PURCHASE_HEADER_BANNER",
"imageUrl": "https://s3.amazonaws.com/onebox-repository/pro/1/1/itemIdioma/1741/1_image_1340695930723.jpg",
"linkUrl": "http://www.website.com/channel_id"
}
]
},
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
}
},
"product-info": {
"@id": 10,
"internalName": "",
"name": "",
"dates": {
"datetime": [
{
"@type": "EVENT_BEGIN",
"@pendingConfirmation": false,
"@timeZoneId": "Europe/Berlin",
"$": "2018-01-07T19:00:00.000+01:00"
}
]
},
"venue": {
"@id": 432432,
"@name": "World Park",
"@timeZone": "Europe/Berlin",
"communication-elements": {
"@language": "en_US",
"images": [
{
"@type": "LOGO_WEB",
"@order": 1,
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"videos": [
{
"@type": "VIDEO",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"files": [
{
"@type": "FILE",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"banners": [
{
"@type": "CHANNEL_PURCHASE_HEADER_BANNER",
"imageUrl": "https://s3.amazonaws.com/onebox-repository/pro/1/1/itemIdioma/1741/1_image_1340695930723.jpg",
"linkUrl": "http://www.website.com/channel_id"
}
]
},
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
}
},
"catalog-info": {
"entityId": 0,
"name": ""
},
"attributes": {
"attribute": [
{
"@id": 10,
"name": ""
}
]
},
"product-image": [],
"forSale": false,
"bookable": false,
"product-variant": [
{
"id": 10,
"sku": "",
"price-breakdown": {
"base-price": 10,
"automatic-promotion": 0,
"manual-promotion": 0,
"manual-discount": 0,
"client-discount": 0,
"client-comission": 0,
"charges": {
"charge": [
{
"@type": "CHANNEL_CHARGE",
"value 1.5": 0
}
]
},
"delivery-costs": 0,
"insurance": 0,
"taxes": {
"tax": [
{
"@id": 10,
"value": 0
}
]
},
"final-price": 20
},
"limited-stock": false,
"variant-availability": 0,
"variant-attributes": {
"variant-attribute": [
{
"attribute": {
"@id": 10,
"name": ""
},
"value": ""
}
]
},
"venue": {
"@id": 432432,
"@name": "World Park",
"@timeZone": "Europe/Berlin",
"communication-elements": {
"@language": "en_US",
"images": [
{
"@type": "LOGO_WEB",
"@order": 1,
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"videos": [
{
"@type": "VIDEO",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"files": [
{
"@type": "FILE",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"banners": [
{
"@type": "CHANNEL_PURCHASE_HEADER_BANNER",
"imageUrl": "https://s3.amazonaws.com/onebox-repository/pro/1/1/itemIdioma/1741/1_image_1340695930723.jpg",
"linkUrl": "http://www.website.com/channel_id"
}
]
},
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
}
},
"catalog-info": {
"entityId": 0,
"name": ""
},
"product-info": {
"@id": 10,
"internalName": "",
"name": "",
"dates": {
"datetime": [
{
"@type": "EVENT_BEGIN",
"@pendingConfirmation": false,
"@timeZoneId": "Europe/Berlin",
"$": "2018-01-07T19:00:00.000+01:00"
}
]
},
"venue": {
"@id": 432432,
"@name": "World Park",
"@timeZone": "Europe/Berlin",
"communication-elements": {
"@language": "en_US",
"images": [
{
"@type": "LOGO_WEB",
"@order": 1,
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"videos": [
{
"@type": "VIDEO",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"files": [
{
"@type": "FILE",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"banners": [
{
"@type": "CHANNEL_PURCHASE_HEADER_BANNER",
"imageUrl": "https://s3.amazonaws.com/onebox-repository/pro/1/1/itemIdioma/1741/1_image_1340695930723.jpg",
"linkUrl": "http://www.website.com/channel_id"
}
]
},
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
}
},
"catalog-info": {
"entityId": 0,
"name": ""
},
"attributes": {
"attribute": [
{
"@id": 10,
"name": ""
}
]
},
"product-image": [],
"forSale": false,
"bookable": false,
"product-variant": []
}
}
]
},
"variant-attributes": {
"variant-attribute": [
{
"attribute": {
"@id": 10,
"name": ""
},
"value": ""
}
]
},
"printouts": 0,
"cancellations": 0,
"status": "PURCHASED",
"sku": "",
"customer": {
"@id": 123,
"name": "First name",
"lastname": "Last name",
"$": "1970-01-01",
"email": "email@domain.com",
"receiptMail": "email@domain.com",
"ticketMail": "email@domain.com",
"phone": "0034 555 55 55",
"identification": {
"value": "",
"@type": ""
},
"gender": "NOT_DEFINED",
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
},
"profile-data": {
"@`profile-id`": 123,
"profile-field": [
{
"@`field-id`": 123,
"idValue": [],
"user-input-value": []
}
]
},
"language": {
"value": "",
"@code": ""
},
"groupValidation": [
{
"@idGroup": 123,
"user": "",
"promotionalCode": "",
"externalProperties": {}
}
]
},
"session-basic-info": {
"@id": 5553432,
"internalName": "7 days 1 park",
"name": "7 days 1 park",
"description": "<P ALIGN=\\\"LEFT\\\">Six amazing worlds in just one Park, perfect for having fun in family and frends as well.</P>",
"dates": {
"datetime": [
{
"@type": "EVENT_BEGIN",
"@pendingConfirmation": false,
"@timeZoneId": "Europe/Berlin",
"$": "2018-01-07T19:00:00.000+01:00"
}
]
},
"venue": {
"@id": 432432,
"@name": "World Park",
"@timeZone": "Europe/Berlin",
"communication-elements": {
"@language": "en_US",
"images": [
{
"@type": "LOGO_WEB",
"@order": 1,
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"videos": [
{
"@type": "VIDEO",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"files": [
{
"@type": "FILE",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"banners": [
{
"@type": "CHANNEL_PURCHASE_HEADER_BANNER",
"imageUrl": "https://s3.amazonaws.com/onebox-repository/pro/1/1/itemIdioma/1741/1_image_1340695930723.jpg",
"linkUrl": "http://www.website.com/channel_id"
}
]
},
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
}
},
"space": {
"id": 150,
"name": "SPACE"
},
"event-basic-info": {
"@id": 23454,
"internalName": "7 days 1 park",
"externalReferenceCode": "EXT-123",
"title": "Theme Park",
"subtitle": "¡Discover the 6 worlds adrenaline!",
"shortDescription": "<P ALIGN=\\\"LEFT\\\">Six amazing worlds in just one Park, perfect for having fun in family and frends as well.</P>",
"longDescription": "<P ALIGN=\\\"LEFT\\\">Explore a whole world of fun and know our amazing theme parks. An ideal destination for a family getaway, located in one of the best tourist areas of Spain and just an hour from Barcelona! </ P> <BR/> <P ALIGN = \\ \"LEFT \\\"> The best entertainment, relaxation, gastronomy and shopping you can imagine. > A DESTINY AND SIX WORLDS TO DISCOVER </ P> <P ALIGN = \\ \"LEFT \\\"> Here begins a journey that takes you much further than you can imagine. At the Park we look forward to six fascinating worlds completely different, with a careful decoration to the last detail, so that you enjoy to the maximum. Emotions for all tastes. Families, friends, big and small: in our theme park, all the fun.</P>",
"additionalEventData": "",
"duration": "",
"communication-elements": {
"@language": "en_US",
"images": [
{
"@type": "LOGO_WEB",
"@order": 1,
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"videos": [
{
"@type": "VIDEO",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"files": [
{
"@type": "FILE",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"banners": [
{
"@type": "CHANNEL_PURCHASE_HEADER_BANNER",
"imageUrl": "https://s3.amazonaws.com/onebox-repository/pro/1/1/itemIdioma/1741/1_image_1340695930723.jpg",
"linkUrl": "http://www.website.com/channel_id"
}
]
},
"taxonomy": {
"@id": 68,
"code": "APRTEM",
"description": "Theme Parks",
"superior-taxonomy": {
"@id": 68,
"code": "APRTEM",
"description": "Theme Parks"
}
},
"custom-taxonomy": {
"@id": 68,
"code": "APRTEM",
"description": "Theme Parks"
},
"promoter-custom-taxonomy": {
"@id": 68,
"code": "APRTEM",
"description": "Theme Parks"
},
"languages": {
"language": [
"",
"ca_ES"
]
},
"dates": {
"datetime": [
{
"@type": "EVENT_BEGIN",
"@pendingConfirmation": false,
"@timeZoneId": "Europe/Berlin",
"$": "2018-01-07T19:00:00.000+01:00"
}
]
},
"entidad": {
"@id": 123,
"name": "Theme Park",
"nif": "A54343234",
"email": "info@theme.park",
"phoneNumber": "0034 555 55 55",
"timeZone": "Europe/Madrid",
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
}
},
"promotor": {
"@id": 475,
"corporateName": "Theme Park Entertainment SA.",
"fiscalCode": "A53776307",
"email": "info@theme.park",
"phoneNumber": "0034 555 55 55",
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
}
},
"tour": {
"@id": 475,
"name": "Theme Park",
"promotorReference": "Theme Park Entertainment SA."
},
"severalVenues": false,
"severalLocations": false,
"supraEvent": false,
"giftTicket": false,
"nominal": false,
"eventType": "EVENT",
"attribute-values": [
{
"attribute-info": {
"id": 0,
"name": "",
"selection": "SINGLE",
"domain-value-info": [
{
"idValue": 10,
"value": "oneboxtm",
"referenceCode": "OB"
}
],
"domain": "EVENT",
"valueType": "DOMAIN_VALUE",
"referenceCode": "Attr"
},
"attribute-value": [
{
"user-input-value": {},
"domain-value": {
"value": "``",
"idValue": 30
}
}
],
"idAttribute": 50,
"description": "DESCRIPTION"
}
],
"passbookPreferences": {
"communication-elements": {
"@language": "en_US",
"images": [
{
"@type": "LOGO_WEB",
"@order": 1,
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"videos": [
{
"@type": "VIDEO",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"files": [
{
"@type": "FILE",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"banners": [
{
"@type": "CHANNEL_PURCHASE_HEADER_BANNER",
"imageUrl": "https://s3.amazonaws.com/onebox-repository/pro/1/1/itemIdioma/1741/1_image_1340695930723.jpg",
"linkUrl": "http://www.website.com/channel_id"
}
]
}
},
"clientEventDiscount": {
"discountType": "AMOUNT"
}
},
"forSale": true,
"blockingReasons": "",
"hasProducts": false,
"admission": "ALL_AGES_ADMITTED",
"supportedEventType": "EVENT",
"supportedVisitorType": "INDIVIDUAL",
"attribute-values": [
{
"attribute-info": {
"id": 0,
"name": "",
"selection": "SINGLE",
"domain-value-info": [
{
"idValue": 10,
"value": "oneboxtm",
"referenceCode": "OB"
}
],
"domain": "EVENT",
"valueType": "DOMAIN_VALUE",
"referenceCode": "Attr"
},
"attribute-value": [
{
"user-input-value": {},
"domain-value": {
"value": "``",
"idValue": 30
}
}
],
"idAttribute": 50,
"description": "DESCRIPTION"
}
],
"visitorGroupConfig": "",
"hideSessionDates": false,
"showDate": false,
"showDatetime": false,
"@rates": "7 days 1 park UK/PAP17",
"season-session-info": {
"beginDate": "2015-09-01T12:00:00+01:00",
"endDate": "2015-10-01T12:00:00+01:00",
"idsSeasonSessions": [],
"seasonSessions": {
"@id": 5553432,
"internalName": "7 days 1 park",
"name": "7 days 1 park",
"description": "<P ALIGN=\\\"LEFT\\\">Six amazing worlds in just one Park, perfect for having fun in family and frends as well.</P>",
"dates": {
"datetime": [
{
"@type": "EVENT_BEGIN",
"@pendingConfirmation": false,
"@timeZoneId": "Europe/Berlin",
"$": "2018-01-07T19:00:00.000+01:00"
}
]
},
"venue": {
"@id": 432432,
"@name": "World Park",
"@timeZone": "Europe/Berlin",
"communication-elements": {
"@language": "en_US",
"images": [
{
"@type": "LOGO_WEB",
"@order": 1,
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"videos": [
{
"@type": "VIDEO",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"files": [
{
"@type": "FILE",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"banners": [
{
"@type": "CHANNEL_PURCHASE_HEADER_BANNER",
"imageUrl": "https://s3.amazonaws.com/onebox-repository/pro/1/1/itemIdioma/1741/1_image_1340695930723.jpg",
"linkUrl": "http://www.website.com/channel_id"
}
]
},
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
}
},
"space": {
"id": 150,
"name": "SPACE"
},
"event-basic-info": {
"@id": 23454,
"internalName": "7 days 1 park",
"externalReferenceCode": "EXT-123",
"title": "Theme Park",
"subtitle": "¡Discover the 6 worlds adrenaline!",
"shortDescription": "<P ALIGN=\\\"LEFT\\\">Six amazing worlds in just one Park, perfect for having fun in family and frends as well.</P>",
"longDescription": "<P ALIGN=\\\"LEFT\\\">Explore a whole world of fun and know our amazing theme parks. An ideal destination for a family getaway, located in one of the best tourist areas of Spain and just an hour from Barcelona! </ P> <BR/> <P ALIGN = \\ \"LEFT \\\"> The best entertainment, relaxation, gastronomy and shopping you can imagine. > A DESTINY AND SIX WORLDS TO DISCOVER </ P> <P ALIGN = \\ \"LEFT \\\"> Here begins a journey that takes you much further than you can imagine. At the Park we look forward to six fascinating worlds completely different, with a careful decoration to the last detail, so that you enjoy to the maximum. Emotions for all tastes. Families, friends, big and small: in our theme park, all the fun.</P>",
"additionalEventData": "",
"duration": "",
"communication-elements": {
"@language": "en_US",
"images": [
{
"@type": "LOGO_WEB",
"@order": 1,
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"videos": [
{
"@type": "VIDEO",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"files": [
{
"@type": "FILE",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"banners": [
{
"@type": "CHANNEL_PURCHASE_HEADER_BANNER",
"imageUrl": "https://s3.amazonaws.com/onebox-repository/pro/1/1/itemIdioma/1741/1_image_1340695930723.jpg",
"linkUrl": "http://www.website.com/channel_id"
}
]
},
"taxonomy": {
"@id": 68,
"code": "APRTEM",
"description": "Theme Parks",
"superior-taxonomy": {
"@id": 68,
"code": "APRTEM",
"description": "Theme Parks"
}
},
"custom-taxonomy": {
"@id": 68,
"code": "APRTEM",
"description": "Theme Parks"
},
"promoter-custom-taxonomy": {
"@id": 68,
"code": "APRTEM",
"description": "Theme Parks"
},
"languages": {
"language": [
"",
"ca_ES"
]
},
"dates": {
"datetime": [
{
"@type": "EVENT_BEGIN",
"@pendingConfirmation": false,
"@timeZoneId": "Europe/Berlin",
"$": "2018-01-07T19:00:00.000+01:00"
}
]
},
"entidad": {
"@id": 123,
"name": "Theme Park",
"nif": "A54343234",
"email": "info@theme.park",
"phoneNumber": "0034 555 55 55",
"timeZone": "Europe/Madrid",
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
}
},
"promotor": {
"@id": 475,
"corporateName": "Theme Park Entertainment SA.",
"fiscalCode": "A53776307",
"email": "info@theme.park",
"phoneNumber": "0034 555 55 55",
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
}
},
"tour": {
"@id": 475,
"name": "Theme Park",
"promotorReference": "Theme Park Entertainment SA."
},
"severalVenues": false,
"severalLocations": false,
"supraEvent": false,
"giftTicket": false,
"nominal": false,
"eventType": "EVENT",
"attribute-values": [
{
"attribute-info": {
"id": 0,
"name": "",
"selection": "SINGLE",
"domain-value-info": [
{
"idValue": 10,
"value": "oneboxtm",
"referenceCode": "OB"
}
],
"domain": "EVENT",
"valueType": "DOMAIN_VALUE",
"referenceCode": "Attr"
},
"attribute-value": [
{
"user-input-value": {},
"domain-value": {
"value": "``",
"idValue": 30
}
}
],
"idAttribute": 50,
"description": "DESCRIPTION"
}
],
"passbookPreferences": {
"communication-elements": {
"@language": "en_US",
"images": [
{
"@type": "LOGO_WEB",
"@order": 1,
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"videos": [
{
"@type": "VIDEO",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"files": [
{
"@type": "FILE",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"banners": [
{
"@type": "CHANNEL_PURCHASE_HEADER_BANNER",
"imageUrl": "https://s3.amazonaws.com/onebox-repository/pro/1/1/itemIdioma/1741/1_image_1340695930723.jpg",
"linkUrl": "http://www.website.com/channel_id"
}
]
}
},
"clientEventDiscount": {
"discountType": "AMOUNT"
}
},
"forSale": true,
"blockingReasons": "",
"hasProducts": false,
"admission": "ALL_AGES_ADMITTED",
"supportedEventType": "EVENT",
"supportedVisitorType": "INDIVIDUAL",
"attribute-values": [
{
"attribute-info": {
"id": 0,
"name": "",
"selection": "SINGLE",
"domain-value-info": [
{
"idValue": 10,
"value": "oneboxtm",
"referenceCode": "OB"
}
],
"domain": "EVENT",
"valueType": "DOMAIN_VALUE",
"referenceCode": "Attr"
},
"attribute-value": [
{
"user-input-value": {},
"domain-value": {
"value": "``",
"idValue": 30
}
}
],
"idAttribute": 50,
"description": "DESCRIPTION"
}
],
"visitorGroupConfig": "",
"hideSessionDates": false,
"showDate": false,
"showDatetime": false,
"@rates": "7 days 1 park UK/PAP17",
"season-session-info": {}
},
"@isSeasonSession": 0
}
},
"event-basic-info": {
"@id": 23454,
"internalName": "7 days 1 park",
"externalReferenceCode": "EXT-123",
"title": "Theme Park",
"subtitle": "¡Discover the 6 worlds adrenaline!",
"shortDescription": "<P ALIGN=\\\"LEFT\\\">Six amazing worlds in just one Park, perfect for having fun in family and frends as well.</P>",
"longDescription": "<P ALIGN=\\\"LEFT\\\">Explore a whole world of fun and know our amazing theme parks. An ideal destination for a family getaway, located in one of the best tourist areas of Spain and just an hour from Barcelona! </ P> <BR/> <P ALIGN = \\ \"LEFT \\\"> The best entertainment, relaxation, gastronomy and shopping you can imagine. > A DESTINY AND SIX WORLDS TO DISCOVER </ P> <P ALIGN = \\ \"LEFT \\\"> Here begins a journey that takes you much further than you can imagine. At the Park we look forward to six fascinating worlds completely different, with a careful decoration to the last detail, so that you enjoy to the maximum. Emotions for all tastes. Families, friends, big and small: in our theme park, all the fun.</P>",
"additionalEventData": "",
"duration": "",
"communication-elements": {
"@language": "en_US",
"images": [
{
"@type": "LOGO_WEB",
"@order": 1,
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"videos": [
{
"@type": "VIDEO",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"files": [
{
"@type": "FILE",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"banners": [
{
"@type": "CHANNEL_PURCHASE_HEADER_BANNER",
"imageUrl": "https://s3.amazonaws.com/onebox-repository/pro/1/1/itemIdioma/1741/1_image_1340695930723.jpg",
"linkUrl": "http://www.website.com/channel_id"
}
]
},
"taxonomy": {
"@id": 68,
"code": "APRTEM",
"description": "Theme Parks",
"superior-taxonomy": {
"@id": 68,
"code": "APRTEM",
"description": "Theme Parks"
}
},
"custom-taxonomy": {
"@id": 68,
"code": "APRTEM",
"description": "Theme Parks"
},
"promoter-custom-taxonomy": {
"@id": 68,
"code": "APRTEM",
"description": "Theme Parks"
},
"languages": {
"language": [
"",
"ca_ES"
]
},
"dates": {
"datetime": [
{
"@type": "EVENT_BEGIN",
"@pendingConfirmation": false,
"@timeZoneId": "Europe/Berlin",
"$": "2018-01-07T19:00:00.000+01:00"
}
]
},
"entidad": {
"@id": 123,
"name": "Theme Park",
"nif": "A54343234",
"email": "info@theme.park",
"phoneNumber": "0034 555 55 55",
"timeZone": "Europe/Madrid",
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
}
},
"promotor": {
"@id": 475,
"corporateName": "Theme Park Entertainment SA.",
"fiscalCode": "A53776307",
"email": "info@theme.park",
"phoneNumber": "0034 555 55 55",
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
}
},
"tour": {
"@id": 475,
"name": "Theme Park",
"promotorReference": "Theme Park Entertainment SA."
},
"severalVenues": false,
"severalLocations": false,
"supraEvent": false,
"giftTicket": false,
"nominal": false,
"eventType": "EVENT",
"attribute-values": [
{
"attribute-info": {
"id": 0,
"name": "",
"selection": "SINGLE",
"domain-value-info": [
{
"idValue": 10,
"value": "oneboxtm",
"referenceCode": "OB"
}
],
"domain": "EVENT",
"valueType": "DOMAIN_VALUE",
"referenceCode": "Attr"
},
"attribute-value": [
{
"user-input-value": {},
"domain-value": {
"value": "``",
"idValue": 30
}
}
],
"idAttribute": 50,
"description": "DESCRIPTION"
}
],
"passbookPreferences": {
"communication-elements": {
"@language": "en_US",
"images": [
{
"@type": "LOGO_WEB",
"@order": 1,
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"videos": [
{
"@type": "VIDEO",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"files": [
{
"@type": "FILE",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"banners": [
{
"@type": "CHANNEL_PURCHASE_HEADER_BANNER",
"imageUrl": "https://s3.amazonaws.com/onebox-repository/pro/1/1/itemIdioma/1741/1_image_1340695930723.jpg",
"linkUrl": "http://www.website.com/channel_id"
}
]
}
},
"clientEventDiscount": {
"discountType": "AMOUNT"
}
},
"automatic": "",
"promotion": {
"@id": 10,
"activator": "",
"promotionComElements": {
"name": "NAME",
"description": "DESCRIPTION"
}
},
"discount": {
"@id": 10,
"activator": "",
"promotionComElements": {
"name": "NAME",
"description": "DESCRIPTION"
}
},
"productAcquisitionType": "GENERAL"
},
"automatic-protmotion": {
"@id": 30,
"promotionComElements": {
"name": "NAME",
"description": "DESCRIPTION"
},
"type": "PERCENTAGE",
"value": 10,
"priceZonesIds": {
"priceZonesId": [
10,
12,
15
]
},
"group": {
"i@d": 30,
"name": "NAME",
"validationType": "CHANNEL",
"validationMethod": "PROMOTIONAL_CODE"
},
"limitedUses": false
},
"promotion": {
"@id": 30,
"promotionComElements": {
"name": "NAME",
"description": "DESCRIPTION"
},
"type": "PERCENTAGE",
"value": 10,
"priceZonesIds": {
"priceZonesId": [
10,
12,
15
]
},
"group": {
"i@d": 30,
"name": "NAME",
"validationType": "CHANNEL",
"validationMethod": "PROMOTIONAL_CODE"
},
"restrictions": {
"packItems": 0,
"maxItems": 0,
"minItems": 0
},
"mandatory": false,
"self-managed": false,
"limitedUses": false,
"dates": {
"datetime": [
{
"@type": "EVENT_BEGIN",
"@pendingConfirmation": false,
"@timeZoneId": "Europe/Berlin",
"$": "2018-01-07T19:00:00.000+01:00"
}
]
}
},
"promotionActivator": "",
"productId": 0,
"discount": {
"@id": 30,
"promotionComElements": {
"name": "NAME",
"description": "DESCRIPTION"
},
"type": "PERCENTAGE",
"value": 10,
"priceZonesIds": {
"priceZonesId": [
10,
12,
15
]
},
"group": {
"i@d": 30,
"name": "NAME",
"validationType": "CHANNEL",
"validationMethod": "PROMOTIONAL_CODE"
},
"restrictions": {
"packItems": 0,
"maxItems": 0,
"minItems": 0
},
"mandatory": false,
"self-managed": false,
"limitedUses": false,
"dates": {
"datetime": [
{
"@type": "EVENT_BEGIN",
"@pendingConfirmation": false,
"@timeZoneId": "Europe/Berlin",
"$": "2018-01-07T19:00:00.000+01:00"
}
]
}
},
"discountActivator'": "",
"price": "",
"operationsAllowed": {
"printInvoice": false
},
"attendant": {
"field": [
{
"@name": "",
"@value": ""
}
],
"clientDiscount": {
"@value": 0,
"type": "PERCENT"
},
"clientCommission": {
"@value": 0,
"type": "PERCENT"
}
},
"itemWarning": [
"",
"SESSION_NON_CONSECUTIVE_SEAT"
],
"modifyingBookingOrderCode": "",
"clientConiditions": {
"@id": 123
},
"@id": 0,
"@type": "TICKET"
}
}
],
"deliveryMethod": 0,
"deliveryCosts": 0,
"insurance": {
"@id": 123,
"name": "",
"description": "",
"privacyPolicy": "",
"termsOfUse": "",
"additionalData": ""
},
"visitorGroup": [
{
"@id": 123,
"name": "",
"numAttendants": 0,
"numAccompanists": 0,
"attribute-values": [
{
"attribute-info": {
"id": 0,
"name": "",
"selection": "SINGLE",
"domain-value-info": [
{
"idValue": 10,
"value": "oneboxtm",
"referenceCode": "OB"
}
],
"domain": "EVENT",
"valueType": "DOMAIN_VALUE",
"referenceCode": "Attr"
},
"attribute-value": [
{
"user-input-value": {},
"domain-value": {
"value": "``",
"idValue": 30
}
}
],
"idAttribute": 50,
"description": "DESCRIPTION"
}
]
}
],
"totalPriceBreakdown": {
"base-price": 10,
"automatic-promotion": 0,
"manual-promotion": 0,
"manual-discount": 0,
"client-discount": 0,
"client-comission": 0,
"charges": {
"charge": [
{
"@type": "CHANNEL_CHARGE",
"value 1.5": 0
}
]
},
"delivery-costs": 0,
"insurance": 0,
"taxes": {
"tax": [
{
"@id": 10,
"value": 0
}
]
},
"final-price": 20
},
"platformClient": {
"id": 123,
"name": "",
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
},
"clientB2B": {
"businessName": "",
"description": "",
"iataCode": "",
"taxId": "",
"tags": "",
"clientB2BBranch": {
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
},
"contactName": "",
"contactEmail": "",
"contactPhone": "",
"@main": false
},
"user": {
"@id": 123,
"name": "",
"email": "",
"username": ""
},
"@category": 0
},
"type": "B2B"
},
"@token": "",
"@currency": "",
"@timeleft": 0
}Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"client": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique customer identifier."
},
"name": {
"type": "string"
},
"lastname": {
"type": "string"
},
"$": {
"type": "string"
},
"email": {
"type": "string"
},
"receiptMail": {
"type": "string"
},
"ticketMail": {
"type": "string"
},
"phone": {
"type": "string"
},
"identification": {
"type": "object",
"properties": {
"value": {
"type": "string"
},
"@type": {
"type": "string"
}
},
"required": [
"value",
"@type"
]
},
"gender": {
"type": "string",
"enum": [
"NOT_DEFINED",
"MALE",
"FEMALE"
]
},
"location": {
"type": "object",
"properties": {
"address": {
"type": "string",
"description": "Venue address where the event will be performed."
},
"city": {
"type": "string",
"description": "City where the event will be performed."
},
"postalCode": {
"type": "string",
"description": "Postal code or zip code where the event will be performed."
},
"countrySubdivision": {
"type": "object",
"properties": {
"@code": {
"type": "string",
"description": "Item unique identifier."
},
"$": {
"type": "string",
"description": "Item value string."
}
},
"required": [
"@code",
"$"
],
"description": "`Country subdivision, this shall be the province, state or county. Ie: ES-T - Tarragona.`"
},
"country": {
"type": "object",
"properties": {
"@code": {
"type": "string",
"description": "Item unique identifier."
},
"$": {
"type": "string",
"description": "Item value string."
}
},
"required": [
"@code",
"$"
],
"description": "`Ie: ES - Spain.`"
},
"coordinates": {
"type": "string"
}
},
"required": [
"address",
"city",
"postalCode",
"countrySubdivision",
"country"
]
},
"idCard": {
"type": "string"
},
"docType": {
"type": "number"
},
"profile-data": {
"type": "object",
"properties": {
"@`profile-id`": {
"type": "number",
"description": "Unique profile data identifier."
},
"profile-field": {
"type": "array"
}
},
"required": [
"@`profile-id`"
]
},
"language": {
"type": "object",
"properties": {
"value": {
"type": "string"
},
"@code": {
"type": "string"
}
},
"required": [
"value",
"@code"
]
},
"groupValidation": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@idGroup": {
"type": "number",
"description": "Unique group validation identifier."
},
"user": {
"type": "string"
},
"promotionalCode": {
"type": "string"
},
"externalProperties": {
"type": "object",
"properties": {
"externalId": {
"type": "string"
}
}
}
},
"required": [
"@idGroup",
"user",
"promotionalCode"
]
}
},
"allowCommercialMailing": {
"type": "boolean"
}
},
"required": [
"@id",
"name",
"lastname",
"$",
"gender",
"location"
]
},
"shoppingCartItem": {
"type": "array"
},
"deliveryMethod": {
"type": "number"
},
"deliveryCosts": {
"type": "number"
},
"insurance": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique insurance identifier."
},
"name": {
"type": "string"
},
"description": {
"type": "string"
},
"privacyPolicy": {
"type": "string"
},
"termsOfUse": {
"type": "string"
},
"additionalData": {
"type": "string"
}
},
"required": [
"@id",
"name",
"description",
"privacyPolicy",
"termsOfUse",
"additionalData"
]
},
"visitorGroup": {
"type": "array"
},
"totalPriceBreakdown": {
"type": "object",
"properties": {
"base-price": {
"type": "number"
},
"automatic-promotion": {
"type": "number"
},
"manual-promotion": {
"type": "number"
},
"manual-discount": {
"type": "number"
},
"client-discount": {
"type": "number"
},
"client-comission": {
"type": "number"
},
"charges": {
"type": "object",
"properties": {
"charge": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"enum": [
"CHANNEL_CHARGE",
"PROMOTER_CHARGE",
"PROMOTER_CHANNEL_CHARGE"
]
},
"value 1.5": {
"type": "number",
"description": "Value of the charge."
}
},
"required": [
"value 1.5"
]
}
}
},
"required": [
"charge"
]
},
"delivery-costs": {
"type": "number"
},
"insurance": {
"type": "number"
},
"taxes": {
"type": "object",
"properties": {
"tax": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique product identifier."
},
"value": {
"type": "number"
}
},
"required": [
"@id",
"value"
]
}
}
},
"required": [
"tax"
]
},
"final-price": {
"type": "number"
}
},
"required": [
"base-price",
"final-price"
]
},
"platformClient": {
"type": "object",
"properties": {
"id": {
"type": "number",
"description": "Unique platform client identifier."
},
"name": {
"type": "string"
},
"location": {
"type": "object",
"properties": {
"address": {
"type": "string",
"description": "Venue address where the event will be performed."
},
"city": {
"type": "string",
"description": "City where the event will be performed."
},
"postalCode": {
"type": "string",
"description": "Postal code or zip code where the event will be performed."
},
"countrySubdivision": {
"type": "object",
"properties": {
"@code": {
"type": "string",
"description": "Item unique identifier."
},
"$": {
"type": "string",
"description": "Item value string."
}
},
"required": [
"@code",
"$"
],
"description": "`Country subdivision, this shall be the province, state or county. Ie: ES-T - Tarragona.`"
},
"country": {
"type": "object",
"properties": {
"@code": {
"type": "string",
"description": "Item unique identifier."
},
"$": {
"type": "string",
"description": "Item value string."
}
},
"required": [
"@code",
"$"
],
"description": "`Ie: ES - Spain.`"
},
"coordinates": {
"type": "string"
}
},
"required": [
"address",
"city",
"postalCode",
"countrySubdivision",
"country"
]
},
"clientB2B": {
"type": "object",
"properties": {
"businessName": {
"type": "string"
},
"description": {
"type": "string"
},
"iataCode": {
"type": "string"
},
"taxId": {
"type": "string"
},
"tags": {
"type": "string"
},
"clientB2BBranch": {
"type": "object",
"properties": {
"location": {
"type": "object",
"properties": {
"address": {
"type": "string",
"description": "Venue address where the event will be performed."
},
"city": {
"type": "string",
"description": "City where the event will be performed."
},
"postalCode": {
"type": "string",
"description": "Postal code or zip code where the event will be performed."
},
"countrySubdivision": {
"type": "object",
"properties": {
"@code": {
"type": "string",
"description": "Item unique identifier."
},
"$": {
"type": "string",
"description": "Item value string."
}
},
"required": [
"@code",
"$"
],
"description": "`Country subdivision, this shall be the province, state or county. Ie: ES-T - Tarragona.`"
},
"country": {
"type": "object",
"properties": {
"@code": {
"type": "string",
"description": "Item unique identifier."
},
"$": {
"type": "string",
"description": "Item value string."
}
},
"required": [
"@code",
"$"
],
"description": "`Ie: ES - Spain.`"
},
"coordinates": {
"type": "string"
}
},
"required": [
"address",
"city",
"postalCode",
"countrySubdivision",
"country"
]
},
"contactName": {
"type": "string"
},
"contactEmail": {
"type": "string"
},
"contactPhone": {
"type": "string"
},
"@main": {
"type": "boolean"
}
},
"required": [
"location",
"contactName",
"contactEmail",
"contactPhone",
"@main"
]
},
"user": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique user identifier."
},
"name": {
"type": "string"
},
"email": {
"type": "string"
},
"username": {
"type": "string"
}
},
"required": [
"@id",
"name",
"email",
"username"
]
},
"@category": {
"type": "number"
}
},
"required": [
"businessName",
"description",
"iataCode",
"taxId",
"tags",
"clientB2BBranch",
"user"
]
},
"type": {
"type": "string",
"enum": [
"B2B",
"B2C"
]
}
},
"required": [
"id",
"name"
]
},
"@token": {
"type": "string"
},
"@currency": {
"type": "string"
},
"@timeleft": {
"type": "number"
}
},
"required": [
"client",
"shoppingCartItem",
"visitorGroup",
"totalPriceBreakdown",
"platformClient",
"@token",
"@currency",
"@timeleft"
]
}Headers
Content-Type: application/json;charset=UTF-8Body
{
"error": "Bad request",
"error_description": "There was a syntax error, check your params request and try it again."
}Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"error": {
"type": "string",
"description": "Short http error code description"
},
"error_description": {
"type": "string",
"description": "Detailed description of the error returned."
}
},
"required": [
"error",
"error_description"
]
}Headers
Content-Type: application/json;charset=UTF-8Body
{
"error": "Unauthorized",
"error_description": "Full authentication is required to access this resource"
}Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"error": {
"type": "string",
"description": "Short http error code description."
},
"error_description": {
"type": "string",
"description": "Detailed description of the error returned."
}
},
"required": [
"error",
"error_description"
]
}Headers
Content-Type: application/json;charset=UTF-8Body
{
"statusCode": 1010,
"responseTime": "08-03-2017 13:46:03.657"
}Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"statusCode": {
"type": "number",
"description": "This is the Onebox error codes. Get the full list here: [go to Onebox error responses](http://developer.oneboxtickets.com/httpresponsecodes.html)"
},
"responseTime": {
"type": "string"
}
},
"required": [
"statusCode",
"responseTime"
]
}Add client dataPOST/shoppingCart/clientData{?token,email,firstName,lastName,birthday,telephone,identification,identificationType,gender,address,city,postalCode,countryCode,countrySubdivisionCode,allowCommercialMailing,ticketEmail,receiptEmail,additionalInsuranceData,notes}
Use this service to add Client Data to a shopping cart.
- token
string(required) Example: 188a5cf2a844e684375172cb1cf2bbf3string(required) Example: a@a.com- firstName
string(optional) Example: firstName- lastName
string(optional) Example: lastName- birthday
string(optional) Example: 1972-07-22'T'00:00:00- telephone
string(optional) Example: 999 999 999- identification
string(optional) Example: 66666666R- identificationType
number(optional) Example: 1- gender
string(optional) Example: M- address
string(optional) Example: Av. Alcalde Pere Molas, km.2- city
string(optional) Example: Barcelona- postalCode
string(optional) Example: 12369- countryCode
string(optional) Example: ES- countrySubdivisionCode
string(optional) Example: CA- allowCommercialMailing
string(optional) Example: true- ticketEmail
string(optional) Example: a@a.com- receiptEmail
string(optional) Example: a@a.com- additionalInsuranceData
string(optional) Example: aaaaa- notes
string(optional) Example: aaaaaa
Delivery ¶
Headers
Authorization: Bearer [ACCESS_TOKEN]
Content-Type: application/x-www-form-urlencoded
Accept: application/jsonHeaders
Content-Type: application/json;charset=UTF-8
traceID: `String: Unique id to identify the transaction within the Onebox API audit system`
OB_Error_Code: `Number: This is the Onebox error codes. Get the full list here: [go to Onebox error responses](http://developer.oneboxtickets.com/httpresponsecodes.html)`Body
{
"client": {
"@id": 123,
"name": "First name",
"lastname": "Last name",
"$": "1970-01-01",
"email": "email@domain.com",
"receiptMail": "email@domain.com",
"ticketMail": "email@domain.com",
"phone": "0034 555 55 55",
"identification": {
"value": "",
"@type": ""
},
"gender": "NOT_DEFINED",
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
},
"profile-data": {
"@`profile-id`": 123,
"profile-field": [
{
"@`field-id`": 123,
"idValue": [],
"user-input-value": []
}
]
},
"language": {
"value": "",
"@code": ""
},
"groupValidation": [
{
"@idGroup": 123,
"user": "",
"promotionalCode": "",
"externalProperties": {}
}
]
},
"shoppingCartItem": [
{
"shopping-cart-item": {
"ticket-data": {},
"product-data": {
"venue": {
"@id": 432432,
"@name": "World Park",
"@timeZone": "Europe/Berlin",
"communication-elements": {
"@language": "en_US",
"images": [
{
"@type": "LOGO_WEB",
"@order": 1,
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"videos": [
{
"@type": "VIDEO",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"files": [
{
"@type": "FILE",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"banners": [
{
"@type": "CHANNEL_PURCHASE_HEADER_BANNER",
"imageUrl": "https://s3.amazonaws.com/onebox-repository/pro/1/1/itemIdioma/1741/1_image_1340695930723.jpg",
"linkUrl": "http://www.website.com/channel_id"
}
]
},
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
}
},
"product-info": {
"@id": 10,
"internalName": "",
"name": "",
"dates": {
"datetime": [
{
"@type": "EVENT_BEGIN",
"@pendingConfirmation": false,
"@timeZoneId": "Europe/Berlin",
"$": "2018-01-07T19:00:00.000+01:00"
}
]
},
"venue": {
"@id": 432432,
"@name": "World Park",
"@timeZone": "Europe/Berlin",
"communication-elements": {
"@language": "en_US",
"images": [
{
"@type": "LOGO_WEB",
"@order": 1,
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"videos": [
{
"@type": "VIDEO",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"files": [
{
"@type": "FILE",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"banners": [
{
"@type": "CHANNEL_PURCHASE_HEADER_BANNER",
"imageUrl": "https://s3.amazonaws.com/onebox-repository/pro/1/1/itemIdioma/1741/1_image_1340695930723.jpg",
"linkUrl": "http://www.website.com/channel_id"
}
]
},
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
}
},
"catalog-info": {
"entityId": 0,
"name": ""
},
"attributes": {
"attribute": [
{
"@id": 10,
"name": ""
}
]
},
"product-image": [],
"forSale": false,
"bookable": false,
"product-variant": [
{
"id": 10,
"sku": "",
"price-breakdown": {
"base-price": 10,
"automatic-promotion": 0,
"manual-promotion": 0,
"manual-discount": 0,
"client-discount": 0,
"client-comission": 0,
"charges": {
"charge": [
{
"@type": "CHANNEL_CHARGE",
"value 1.5": 0
}
]
},
"delivery-costs": 0,
"insurance": 0,
"taxes": {
"tax": [
{
"@id": 10,
"value": 0
}
]
},
"final-price": 20
},
"limited-stock": false,
"variant-availability": 0,
"variant-attributes": {
"variant-attribute": [
{
"attribute": {
"@id": 10,
"name": ""
},
"value": ""
}
]
},
"venue": {
"@id": 432432,
"@name": "World Park",
"@timeZone": "Europe/Berlin",
"communication-elements": {
"@language": "en_US",
"images": [
{
"@type": "LOGO_WEB",
"@order": 1,
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"videos": [
{
"@type": "VIDEO",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"files": [
{
"@type": "FILE",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"banners": [
{
"@type": "CHANNEL_PURCHASE_HEADER_BANNER",
"imageUrl": "https://s3.amazonaws.com/onebox-repository/pro/1/1/itemIdioma/1741/1_image_1340695930723.jpg",
"linkUrl": "http://www.website.com/channel_id"
}
]
},
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
}
},
"catalog-info": {
"entityId": 0,
"name": ""
},
"product-info": {
"@id": 10,
"internalName": "",
"name": "",
"dates": {
"datetime": [
{
"@type": "EVENT_BEGIN",
"@pendingConfirmation": false,
"@timeZoneId": "Europe/Berlin",
"$": "2018-01-07T19:00:00.000+01:00"
}
]
},
"venue": {
"@id": 432432,
"@name": "World Park",
"@timeZone": "Europe/Berlin",
"communication-elements": {
"@language": "en_US",
"images": [
{
"@type": "LOGO_WEB",
"@order": 1,
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"videos": [
{
"@type": "VIDEO",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"files": [
{
"@type": "FILE",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"banners": [
{
"@type": "CHANNEL_PURCHASE_HEADER_BANNER",
"imageUrl": "https://s3.amazonaws.com/onebox-repository/pro/1/1/itemIdioma/1741/1_image_1340695930723.jpg",
"linkUrl": "http://www.website.com/channel_id"
}
]
},
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
}
},
"catalog-info": {
"entityId": 0,
"name": ""
},
"attributes": {
"attribute": [
{
"@id": 10,
"name": ""
}
]
},
"product-image": [],
"forSale": false,
"bookable": false,
"product-variant": []
}
}
]
},
"variant-attributes": {
"variant-attribute": [
{
"attribute": {
"@id": 10,
"name": ""
},
"value": ""
}
]
},
"printouts": 0,
"cancellations": 0,
"status": "PURCHASED",
"sku": "",
"customer": {
"@id": 123,
"name": "First name",
"lastname": "Last name",
"$": "1970-01-01",
"email": "email@domain.com",
"receiptMail": "email@domain.com",
"ticketMail": "email@domain.com",
"phone": "0034 555 55 55",
"identification": {
"value": "",
"@type": ""
},
"gender": "NOT_DEFINED",
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
},
"profile-data": {
"@`profile-id`": 123,
"profile-field": [
{
"@`field-id`": 123,
"idValue": [],
"user-input-value": []
}
]
},
"language": {
"value": "",
"@code": ""
},
"groupValidation": [
{
"@idGroup": 123,
"user": "",
"promotionalCode": "",
"externalProperties": {}
}
]
},
"session-basic-info": {
"@id": 5553432,
"internalName": "7 days 1 park",
"name": "7 days 1 park",
"description": "<P ALIGN=\\\"LEFT\\\">Six amazing worlds in just one Park, perfect for having fun in family and frends as well.</P>",
"dates": {
"datetime": [
{
"@type": "EVENT_BEGIN",
"@pendingConfirmation": false,
"@timeZoneId": "Europe/Berlin",
"$": "2018-01-07T19:00:00.000+01:00"
}
]
},
"venue": {
"@id": 432432,
"@name": "World Park",
"@timeZone": "Europe/Berlin",
"communication-elements": {
"@language": "en_US",
"images": [
{
"@type": "LOGO_WEB",
"@order": 1,
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"videos": [
{
"@type": "VIDEO",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"files": [
{
"@type": "FILE",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"banners": [
{
"@type": "CHANNEL_PURCHASE_HEADER_BANNER",
"imageUrl": "https://s3.amazonaws.com/onebox-repository/pro/1/1/itemIdioma/1741/1_image_1340695930723.jpg",
"linkUrl": "http://www.website.com/channel_id"
}
]
},
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
}
},
"space": {
"id": 150,
"name": "SPACE"
},
"event-basic-info": {
"@id": 23454,
"internalName": "7 days 1 park",
"externalReferenceCode": "EXT-123",
"title": "Theme Park",
"subtitle": "¡Discover the 6 worlds adrenaline!",
"shortDescription": "<P ALIGN=\\\"LEFT\\\">Six amazing worlds in just one Park, perfect for having fun in family and frends as well.</P>",
"longDescription": "<P ALIGN=\\\"LEFT\\\">Explore a whole world of fun and know our amazing theme parks. An ideal destination for a family getaway, located in one of the best tourist areas of Spain and just an hour from Barcelona! </ P> <BR/> <P ALIGN = \\ \"LEFT \\\"> The best entertainment, relaxation, gastronomy and shopping you can imagine. > A DESTINY AND SIX WORLDS TO DISCOVER </ P> <P ALIGN = \\ \"LEFT \\\"> Here begins a journey that takes you much further than you can imagine. At the Park we look forward to six fascinating worlds completely different, with a careful decoration to the last detail, so that you enjoy to the maximum. Emotions for all tastes. Families, friends, big and small: in our theme park, all the fun.</P>",
"additionalEventData": "",
"duration": "",
"communication-elements": {
"@language": "en_US",
"images": [
{
"@type": "LOGO_WEB",
"@order": 1,
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"videos": [
{
"@type": "VIDEO",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"files": [
{
"@type": "FILE",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"banners": [
{
"@type": "CHANNEL_PURCHASE_HEADER_BANNER",
"imageUrl": "https://s3.amazonaws.com/onebox-repository/pro/1/1/itemIdioma/1741/1_image_1340695930723.jpg",
"linkUrl": "http://www.website.com/channel_id"
}
]
},
"taxonomy": {
"@id": 68,
"code": "APRTEM",
"description": "Theme Parks",
"superior-taxonomy": {
"@id": 68,
"code": "APRTEM",
"description": "Theme Parks"
}
},
"custom-taxonomy": {
"@id": 68,
"code": "APRTEM",
"description": "Theme Parks"
},
"promoter-custom-taxonomy": {
"@id": 68,
"code": "APRTEM",
"description": "Theme Parks"
},
"languages": {
"language": [
"",
"ca_ES"
]
},
"dates": {
"datetime": [
{
"@type": "EVENT_BEGIN",
"@pendingConfirmation": false,
"@timeZoneId": "Europe/Berlin",
"$": "2018-01-07T19:00:00.000+01:00"
}
]
},
"entidad": {
"@id": 123,
"name": "Theme Park",
"nif": "A54343234",
"email": "info@theme.park",
"phoneNumber": "0034 555 55 55",
"timeZone": "Europe/Madrid",
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
}
},
"promotor": {
"@id": 475,
"corporateName": "Theme Park Entertainment SA.",
"fiscalCode": "A53776307",
"email": "info@theme.park",
"phoneNumber": "0034 555 55 55",
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
}
},
"tour": {
"@id": 475,
"name": "Theme Park",
"promotorReference": "Theme Park Entertainment SA."
},
"severalVenues": false,
"severalLocations": false,
"supraEvent": false,
"giftTicket": false,
"nominal": false,
"eventType": "EVENT",
"attribute-values": [
{
"attribute-info": {
"id": 0,
"name": "",
"selection": "SINGLE",
"domain-value-info": [
{
"idValue": 10,
"value": "oneboxtm",
"referenceCode": "OB"
}
],
"domain": "EVENT",
"valueType": "DOMAIN_VALUE",
"referenceCode": "Attr"
},
"attribute-value": [
{
"user-input-value": {},
"domain-value": {
"value": "``",
"idValue": 30
}
}
],
"idAttribute": 50,
"description": "DESCRIPTION"
}
],
"passbookPreferences": {
"communication-elements": {
"@language": "en_US",
"images": [
{
"@type": "LOGO_WEB",
"@order": 1,
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"videos": [
{
"@type": "VIDEO",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"files": [
{
"@type": "FILE",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"banners": [
{
"@type": "CHANNEL_PURCHASE_HEADER_BANNER",
"imageUrl": "https://s3.amazonaws.com/onebox-repository/pro/1/1/itemIdioma/1741/1_image_1340695930723.jpg",
"linkUrl": "http://www.website.com/channel_id"
}
]
}
},
"clientEventDiscount": {
"discountType": "AMOUNT"
}
},
"forSale": true,
"blockingReasons": "",
"hasProducts": false,
"admission": "ALL_AGES_ADMITTED",
"supportedEventType": "EVENT",
"supportedVisitorType": "INDIVIDUAL",
"attribute-values": [
{
"attribute-info": {
"id": 0,
"name": "",
"selection": "SINGLE",
"domain-value-info": [
{
"idValue": 10,
"value": "oneboxtm",
"referenceCode": "OB"
}
],
"domain": "EVENT",
"valueType": "DOMAIN_VALUE",
"referenceCode": "Attr"
},
"attribute-value": [
{
"user-input-value": {},
"domain-value": {
"value": "``",
"idValue": 30
}
}
],
"idAttribute": 50,
"description": "DESCRIPTION"
}
],
"visitorGroupConfig": "",
"hideSessionDates": false,
"showDate": false,
"showDatetime": false,
"@rates": "7 days 1 park UK/PAP17",
"season-session-info": {
"beginDate": "2015-09-01T12:00:00+01:00",
"endDate": "2015-10-01T12:00:00+01:00",
"idsSeasonSessions": [],
"seasonSessions": {
"@id": 5553432,
"internalName": "7 days 1 park",
"name": "7 days 1 park",
"description": "<P ALIGN=\\\"LEFT\\\">Six amazing worlds in just one Park, perfect for having fun in family and frends as well.</P>",
"dates": {
"datetime": [
{
"@type": "EVENT_BEGIN",
"@pendingConfirmation": false,
"@timeZoneId": "Europe/Berlin",
"$": "2018-01-07T19:00:00.000+01:00"
}
]
},
"venue": {
"@id": 432432,
"@name": "World Park",
"@timeZone": "Europe/Berlin",
"communication-elements": {
"@language": "en_US",
"images": [
{
"@type": "LOGO_WEB",
"@order": 1,
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"videos": [
{
"@type": "VIDEO",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"files": [
{
"@type": "FILE",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"banners": [
{
"@type": "CHANNEL_PURCHASE_HEADER_BANNER",
"imageUrl": "https://s3.amazonaws.com/onebox-repository/pro/1/1/itemIdioma/1741/1_image_1340695930723.jpg",
"linkUrl": "http://www.website.com/channel_id"
}
]
},
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
}
},
"space": {
"id": 150,
"name": "SPACE"
},
"event-basic-info": {
"@id": 23454,
"internalName": "7 days 1 park",
"externalReferenceCode": "EXT-123",
"title": "Theme Park",
"subtitle": "¡Discover the 6 worlds adrenaline!",
"shortDescription": "<P ALIGN=\\\"LEFT\\\">Six amazing worlds in just one Park, perfect for having fun in family and frends as well.</P>",
"longDescription": "<P ALIGN=\\\"LEFT\\\">Explore a whole world of fun and know our amazing theme parks. An ideal destination for a family getaway, located in one of the best tourist areas of Spain and just an hour from Barcelona! </ P> <BR/> <P ALIGN = \\ \"LEFT \\\"> The best entertainment, relaxation, gastronomy and shopping you can imagine. > A DESTINY AND SIX WORLDS TO DISCOVER </ P> <P ALIGN = \\ \"LEFT \\\"> Here begins a journey that takes you much further than you can imagine. At the Park we look forward to six fascinating worlds completely different, with a careful decoration to the last detail, so that you enjoy to the maximum. Emotions for all tastes. Families, friends, big and small: in our theme park, all the fun.</P>",
"additionalEventData": "",
"duration": "",
"communication-elements": {
"@language": "en_US",
"images": [
{
"@type": "LOGO_WEB",
"@order": 1,
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"videos": [
{
"@type": "VIDEO",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"files": [
{
"@type": "FILE",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"banners": [
{
"@type": "CHANNEL_PURCHASE_HEADER_BANNER",
"imageUrl": "https://s3.amazonaws.com/onebox-repository/pro/1/1/itemIdioma/1741/1_image_1340695930723.jpg",
"linkUrl": "http://www.website.com/channel_id"
}
]
},
"taxonomy": {
"@id": 68,
"code": "APRTEM",
"description": "Theme Parks",
"superior-taxonomy": {
"@id": 68,
"code": "APRTEM",
"description": "Theme Parks"
}
},
"custom-taxonomy": {
"@id": 68,
"code": "APRTEM",
"description": "Theme Parks"
},
"promoter-custom-taxonomy": {
"@id": 68,
"code": "APRTEM",
"description": "Theme Parks"
},
"languages": {
"language": [
"",
"ca_ES"
]
},
"dates": {
"datetime": [
{
"@type": "EVENT_BEGIN",
"@pendingConfirmation": false,
"@timeZoneId": "Europe/Berlin",
"$": "2018-01-07T19:00:00.000+01:00"
}
]
},
"entidad": {
"@id": 123,
"name": "Theme Park",
"nif": "A54343234",
"email": "info@theme.park",
"phoneNumber": "0034 555 55 55",
"timeZone": "Europe/Madrid",
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
}
},
"promotor": {
"@id": 475,
"corporateName": "Theme Park Entertainment SA.",
"fiscalCode": "A53776307",
"email": "info@theme.park",
"phoneNumber": "0034 555 55 55",
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
}
},
"tour": {
"@id": 475,
"name": "Theme Park",
"promotorReference": "Theme Park Entertainment SA."
},
"severalVenues": false,
"severalLocations": false,
"supraEvent": false,
"giftTicket": false,
"nominal": false,
"eventType": "EVENT",
"attribute-values": [
{
"attribute-info": {
"id": 0,
"name": "",
"selection": "SINGLE",
"domain-value-info": [
{
"idValue": 10,
"value": "oneboxtm",
"referenceCode": "OB"
}
],
"domain": "EVENT",
"valueType": "DOMAIN_VALUE",
"referenceCode": "Attr"
},
"attribute-value": [
{
"user-input-value": {},
"domain-value": {
"value": "``",
"idValue": 30
}
}
],
"idAttribute": 50,
"description": "DESCRIPTION"
}
],
"passbookPreferences": {
"communication-elements": {
"@language": "en_US",
"images": [
{
"@type": "LOGO_WEB",
"@order": 1,
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"videos": [
{
"@type": "VIDEO",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"files": [
{
"@type": "FILE",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"banners": [
{
"@type": "CHANNEL_PURCHASE_HEADER_BANNER",
"imageUrl": "https://s3.amazonaws.com/onebox-repository/pro/1/1/itemIdioma/1741/1_image_1340695930723.jpg",
"linkUrl": "http://www.website.com/channel_id"
}
]
}
},
"clientEventDiscount": {
"discountType": "AMOUNT"
}
},
"forSale": true,
"blockingReasons": "",
"hasProducts": false,
"admission": "ALL_AGES_ADMITTED",
"supportedEventType": "EVENT",
"supportedVisitorType": "INDIVIDUAL",
"attribute-values": [
{
"attribute-info": {
"id": 0,
"name": "",
"selection": "SINGLE",
"domain-value-info": [
{
"idValue": 10,
"value": "oneboxtm",
"referenceCode": "OB"
}
],
"domain": "EVENT",
"valueType": "DOMAIN_VALUE",
"referenceCode": "Attr"
},
"attribute-value": [
{
"user-input-value": {},
"domain-value": {
"value": "``",
"idValue": 30
}
}
],
"idAttribute": 50,
"description": "DESCRIPTION"
}
],
"visitorGroupConfig": "",
"hideSessionDates": false,
"showDate": false,
"showDatetime": false,
"@rates": "7 days 1 park UK/PAP17",
"season-session-info": {}
},
"@isSeasonSession": 0
}
},
"event-basic-info": {
"@id": 23454,
"internalName": "7 days 1 park",
"externalReferenceCode": "EXT-123",
"title": "Theme Park",
"subtitle": "¡Discover the 6 worlds adrenaline!",
"shortDescription": "<P ALIGN=\\\"LEFT\\\">Six amazing worlds in just one Park, perfect for having fun in family and frends as well.</P>",
"longDescription": "<P ALIGN=\\\"LEFT\\\">Explore a whole world of fun and know our amazing theme parks. An ideal destination for a family getaway, located in one of the best tourist areas of Spain and just an hour from Barcelona! </ P> <BR/> <P ALIGN = \\ \"LEFT \\\"> The best entertainment, relaxation, gastronomy and shopping you can imagine. > A DESTINY AND SIX WORLDS TO DISCOVER </ P> <P ALIGN = \\ \"LEFT \\\"> Here begins a journey that takes you much further than you can imagine. At the Park we look forward to six fascinating worlds completely different, with a careful decoration to the last detail, so that you enjoy to the maximum. Emotions for all tastes. Families, friends, big and small: in our theme park, all the fun.</P>",
"additionalEventData": "",
"duration": "",
"communication-elements": {
"@language": "en_US",
"images": [
{
"@type": "LOGO_WEB",
"@order": 1,
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"videos": [
{
"@type": "VIDEO",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"files": [
{
"@type": "FILE",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"banners": [
{
"@type": "CHANNEL_PURCHASE_HEADER_BANNER",
"imageUrl": "https://s3.amazonaws.com/onebox-repository/pro/1/1/itemIdioma/1741/1_image_1340695930723.jpg",
"linkUrl": "http://www.website.com/channel_id"
}
]
},
"taxonomy": {
"@id": 68,
"code": "APRTEM",
"description": "Theme Parks",
"superior-taxonomy": {
"@id": 68,
"code": "APRTEM",
"description": "Theme Parks"
}
},
"custom-taxonomy": {
"@id": 68,
"code": "APRTEM",
"description": "Theme Parks"
},
"promoter-custom-taxonomy": {
"@id": 68,
"code": "APRTEM",
"description": "Theme Parks"
},
"languages": {
"language": [
"",
"ca_ES"
]
},
"dates": {
"datetime": [
{
"@type": "EVENT_BEGIN",
"@pendingConfirmation": false,
"@timeZoneId": "Europe/Berlin",
"$": "2018-01-07T19:00:00.000+01:00"
}
]
},
"entidad": {
"@id": 123,
"name": "Theme Park",
"nif": "A54343234",
"email": "info@theme.park",
"phoneNumber": "0034 555 55 55",
"timeZone": "Europe/Madrid",
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
}
},
"promotor": {
"@id": 475,
"corporateName": "Theme Park Entertainment SA.",
"fiscalCode": "A53776307",
"email": "info@theme.park",
"phoneNumber": "0034 555 55 55",
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
}
},
"tour": {
"@id": 475,
"name": "Theme Park",
"promotorReference": "Theme Park Entertainment SA."
},
"severalVenues": false,
"severalLocations": false,
"supraEvent": false,
"giftTicket": false,
"nominal": false,
"eventType": "EVENT",
"attribute-values": [
{
"attribute-info": {
"id": 0,
"name": "",
"selection": "SINGLE",
"domain-value-info": [
{
"idValue": 10,
"value": "oneboxtm",
"referenceCode": "OB"
}
],
"domain": "EVENT",
"valueType": "DOMAIN_VALUE",
"referenceCode": "Attr"
},
"attribute-value": [
{
"user-input-value": {},
"domain-value": {
"value": "``",
"idValue": 30
}
}
],
"idAttribute": 50,
"description": "DESCRIPTION"
}
],
"passbookPreferences": {
"communication-elements": {
"@language": "en_US",
"images": [
{
"@type": "LOGO_WEB",
"@order": 1,
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"videos": [
{
"@type": "VIDEO",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"files": [
{
"@type": "FILE",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"banners": [
{
"@type": "CHANNEL_PURCHASE_HEADER_BANNER",
"imageUrl": "https://s3.amazonaws.com/onebox-repository/pro/1/1/itemIdioma/1741/1_image_1340695930723.jpg",
"linkUrl": "http://www.website.com/channel_id"
}
]
}
},
"clientEventDiscount": {
"discountType": "AMOUNT"
}
},
"automatic": "",
"promotion": {
"@id": 10,
"activator": "",
"promotionComElements": {
"name": "NAME",
"description": "DESCRIPTION"
}
},
"discount": {
"@id": 10,
"activator": "",
"promotionComElements": {
"name": "NAME",
"description": "DESCRIPTION"
}
},
"productAcquisitionType": "GENERAL"
},
"automatic-protmotion": {
"@id": 30,
"promotionComElements": {
"name": "NAME",
"description": "DESCRIPTION"
},
"type": "PERCENTAGE",
"value": 10,
"priceZonesIds": {
"priceZonesId": [
10,
12,
15
]
},
"group": {
"i@d": 30,
"name": "NAME",
"validationType": "CHANNEL",
"validationMethod": "PROMOTIONAL_CODE"
},
"limitedUses": false
},
"promotion": {
"@id": 30,
"promotionComElements": {
"name": "NAME",
"description": "DESCRIPTION"
},
"type": "PERCENTAGE",
"value": 10,
"priceZonesIds": {
"priceZonesId": [
10,
12,
15
]
},
"group": {
"i@d": 30,
"name": "NAME",
"validationType": "CHANNEL",
"validationMethod": "PROMOTIONAL_CODE"
},
"restrictions": {
"packItems": 0,
"maxItems": 0,
"minItems": 0
},
"mandatory": false,
"self-managed": false,
"limitedUses": false,
"dates": {
"datetime": [
{
"@type": "EVENT_BEGIN",
"@pendingConfirmation": false,
"@timeZoneId": "Europe/Berlin",
"$": "2018-01-07T19:00:00.000+01:00"
}
]
}
},
"promotionActivator": "",
"productId": 0,
"discount": {
"@id": 30,
"promotionComElements": {
"name": "NAME",
"description": "DESCRIPTION"
},
"type": "PERCENTAGE",
"value": 10,
"priceZonesIds": {
"priceZonesId": [
10,
12,
15
]
},
"group": {
"i@d": 30,
"name": "NAME",
"validationType": "CHANNEL",
"validationMethod": "PROMOTIONAL_CODE"
},
"restrictions": {
"packItems": 0,
"maxItems": 0,
"minItems": 0
},
"mandatory": false,
"self-managed": false,
"limitedUses": false,
"dates": {
"datetime": [
{
"@type": "EVENT_BEGIN",
"@pendingConfirmation": false,
"@timeZoneId": "Europe/Berlin",
"$": "2018-01-07T19:00:00.000+01:00"
}
]
}
},
"discountActivator'": "",
"price": "",
"operationsAllowed": {
"printInvoice": false
},
"attendant": {
"field": [
{
"@name": "",
"@value": ""
}
],
"clientDiscount": {
"@value": 0,
"type": "PERCENT"
},
"clientCommission": {
"@value": 0,
"type": "PERCENT"
}
},
"itemWarning": [
"",
"SESSION_NON_CONSECUTIVE_SEAT"
],
"modifyingBookingOrderCode": "",
"clientConiditions": {
"@id": 123
},
"@id": 0,
"@type": "TICKET"
}
}
],
"deliveryMethod": 0,
"deliveryCosts": 0,
"insurance": {
"@id": 123,
"name": "",
"description": "",
"privacyPolicy": "",
"termsOfUse": "",
"additionalData": ""
},
"visitorGroup": [
{
"@id": 123,
"name": "",
"numAttendants": 0,
"numAccompanists": 0,
"attribute-values": [
{
"attribute-info": {
"id": 0,
"name": "",
"selection": "SINGLE",
"domain-value-info": [
{
"idValue": 10,
"value": "oneboxtm",
"referenceCode": "OB"
}
],
"domain": "EVENT",
"valueType": "DOMAIN_VALUE",
"referenceCode": "Attr"
},
"attribute-value": [
{
"user-input-value": {},
"domain-value": {
"value": "``",
"idValue": 30
}
}
],
"idAttribute": 50,
"description": "DESCRIPTION"
}
]
}
],
"totalPriceBreakdown": {
"base-price": 10,
"automatic-promotion": 0,
"manual-promotion": 0,
"manual-discount": 0,
"client-discount": 0,
"client-comission": 0,
"charges": {
"charge": [
{
"@type": "CHANNEL_CHARGE",
"value 1.5": 0
}
]
},
"delivery-costs": 0,
"insurance": 0,
"taxes": {
"tax": [
{
"@id": 10,
"value": 0
}
]
},
"final-price": 20
},
"platformClient": {
"id": 123,
"name": "",
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
},
"clientB2B": {
"businessName": "",
"description": "",
"iataCode": "",
"taxId": "",
"tags": "",
"clientB2BBranch": {
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
},
"contactName": "",
"contactEmail": "",
"contactPhone": "",
"@main": false
},
"user": {
"@id": 123,
"name": "",
"email": "",
"username": ""
},
"@category": 0
},
"type": "B2B"
},
"@token": "",
"@currency": "",
"@timeleft": 0
}Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"client": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique customer identifier."
},
"name": {
"type": "string"
},
"lastname": {
"type": "string"
},
"$": {
"type": "string"
},
"email": {
"type": "string"
},
"receiptMail": {
"type": "string"
},
"ticketMail": {
"type": "string"
},
"phone": {
"type": "string"
},
"identification": {
"type": "object",
"properties": {
"value": {
"type": "string"
},
"@type": {
"type": "string"
}
},
"required": [
"value",
"@type"
]
},
"gender": {
"type": "string",
"enum": [
"NOT_DEFINED",
"MALE",
"FEMALE"
]
},
"location": {
"type": "object",
"properties": {
"address": {
"type": "string",
"description": "Venue address where the event will be performed."
},
"city": {
"type": "string",
"description": "City where the event will be performed."
},
"postalCode": {
"type": "string",
"description": "Postal code or zip code where the event will be performed."
},
"countrySubdivision": {
"type": "object",
"properties": {
"@code": {
"type": "string",
"description": "Item unique identifier."
},
"$": {
"type": "string",
"description": "Item value string."
}
},
"required": [
"@code",
"$"
],
"description": "`Country subdivision, this shall be the province, state or county. Ie: ES-T - Tarragona.`"
},
"country": {
"type": "object",
"properties": {
"@code": {
"type": "string",
"description": "Item unique identifier."
},
"$": {
"type": "string",
"description": "Item value string."
}
},
"required": [
"@code",
"$"
],
"description": "`Ie: ES - Spain.`"
},
"coordinates": {
"type": "string"
}
},
"required": [
"address",
"city",
"postalCode",
"countrySubdivision",
"country"
]
},
"idCard": {
"type": "string"
},
"docType": {
"type": "number"
},
"profile-data": {
"type": "object",
"properties": {
"@`profile-id`": {
"type": "number",
"description": "Unique profile data identifier."
},
"profile-field": {
"type": "array"
}
},
"required": [
"@`profile-id`"
]
},
"language": {
"type": "object",
"properties": {
"value": {
"type": "string"
},
"@code": {
"type": "string"
}
},
"required": [
"value",
"@code"
]
},
"groupValidation": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@idGroup": {
"type": "number",
"description": "Unique group validation identifier."
},
"user": {
"type": "string"
},
"promotionalCode": {
"type": "string"
},
"externalProperties": {
"type": "object",
"properties": {
"externalId": {
"type": "string"
}
}
}
},
"required": [
"@idGroup",
"user",
"promotionalCode"
]
}
},
"allowCommercialMailing": {
"type": "boolean"
}
},
"required": [
"@id",
"name",
"lastname",
"$",
"gender",
"location"
]
},
"shoppingCartItem": {
"type": "array"
},
"deliveryMethod": {
"type": "number"
},
"deliveryCosts": {
"type": "number"
},
"insurance": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique insurance identifier."
},
"name": {
"type": "string"
},
"description": {
"type": "string"
},
"privacyPolicy": {
"type": "string"
},
"termsOfUse": {
"type": "string"
},
"additionalData": {
"type": "string"
}
},
"required": [
"@id",
"name",
"description",
"privacyPolicy",
"termsOfUse",
"additionalData"
]
},
"visitorGroup": {
"type": "array"
},
"totalPriceBreakdown": {
"type": "object",
"properties": {
"base-price": {
"type": "number"
},
"automatic-promotion": {
"type": "number"
},
"manual-promotion": {
"type": "number"
},
"manual-discount": {
"type": "number"
},
"client-discount": {
"type": "number"
},
"client-comission": {
"type": "number"
},
"charges": {
"type": "object",
"properties": {
"charge": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"enum": [
"CHANNEL_CHARGE",
"PROMOTER_CHARGE",
"PROMOTER_CHANNEL_CHARGE"
]
},
"value 1.5": {
"type": "number",
"description": "Value of the charge."
}
},
"required": [
"value 1.5"
]
}
}
},
"required": [
"charge"
]
},
"delivery-costs": {
"type": "number"
},
"insurance": {
"type": "number"
},
"taxes": {
"type": "object",
"properties": {
"tax": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique product identifier."
},
"value": {
"type": "number"
}
},
"required": [
"@id",
"value"
]
}
}
},
"required": [
"tax"
]
},
"final-price": {
"type": "number"
}
},
"required": [
"base-price",
"final-price"
]
},
"platformClient": {
"type": "object",
"properties": {
"id": {
"type": "number",
"description": "Unique platform client identifier."
},
"name": {
"type": "string"
},
"location": {
"type": "object",
"properties": {
"address": {
"type": "string",
"description": "Venue address where the event will be performed."
},
"city": {
"type": "string",
"description": "City where the event will be performed."
},
"postalCode": {
"type": "string",
"description": "Postal code or zip code where the event will be performed."
},
"countrySubdivision": {
"type": "object",
"properties": {
"@code": {
"type": "string",
"description": "Item unique identifier."
},
"$": {
"type": "string",
"description": "Item value string."
}
},
"required": [
"@code",
"$"
],
"description": "`Country subdivision, this shall be the province, state or county. Ie: ES-T - Tarragona.`"
},
"country": {
"type": "object",
"properties": {
"@code": {
"type": "string",
"description": "Item unique identifier."
},
"$": {
"type": "string",
"description": "Item value string."
}
},
"required": [
"@code",
"$"
],
"description": "`Ie: ES - Spain.`"
},
"coordinates": {
"type": "string"
}
},
"required": [
"address",
"city",
"postalCode",
"countrySubdivision",
"country"
]
},
"clientB2B": {
"type": "object",
"properties": {
"businessName": {
"type": "string"
},
"description": {
"type": "string"
},
"iataCode": {
"type": "string"
},
"taxId": {
"type": "string"
},
"tags": {
"type": "string"
},
"clientB2BBranch": {
"type": "object",
"properties": {
"location": {
"type": "object",
"properties": {
"address": {
"type": "string",
"description": "Venue address where the event will be performed."
},
"city": {
"type": "string",
"description": "City where the event will be performed."
},
"postalCode": {
"type": "string",
"description": "Postal code or zip code where the event will be performed."
},
"countrySubdivision": {
"type": "object",
"properties": {
"@code": {
"type": "string",
"description": "Item unique identifier."
},
"$": {
"type": "string",
"description": "Item value string."
}
},
"required": [
"@code",
"$"
],
"description": "`Country subdivision, this shall be the province, state or county. Ie: ES-T - Tarragona.`"
},
"country": {
"type": "object",
"properties": {
"@code": {
"type": "string",
"description": "Item unique identifier."
},
"$": {
"type": "string",
"description": "Item value string."
}
},
"required": [
"@code",
"$"
],
"description": "`Ie: ES - Spain.`"
},
"coordinates": {
"type": "string"
}
},
"required": [
"address",
"city",
"postalCode",
"countrySubdivision",
"country"
]
},
"contactName": {
"type": "string"
},
"contactEmail": {
"type": "string"
},
"contactPhone": {
"type": "string"
},
"@main": {
"type": "boolean"
}
},
"required": [
"location",
"contactName",
"contactEmail",
"contactPhone",
"@main"
]
},
"user": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique user identifier."
},
"name": {
"type": "string"
},
"email": {
"type": "string"
},
"username": {
"type": "string"
}
},
"required": [
"@id",
"name",
"email",
"username"
]
},
"@category": {
"type": "number"
}
},
"required": [
"businessName",
"description",
"iataCode",
"taxId",
"tags",
"clientB2BBranch",
"user"
]
},
"type": {
"type": "string",
"enum": [
"B2B",
"B2C"
]
}
},
"required": [
"id",
"name"
]
},
"@token": {
"type": "string"
},
"@currency": {
"type": "string"
},
"@timeleft": {
"type": "number"
}
},
"required": [
"client",
"shoppingCartItem",
"visitorGroup",
"totalPriceBreakdown",
"platformClient",
"@token",
"@currency",
"@timeleft"
]
}Headers
Content-Type: application/json;charset=UTF-8Body
{
"error": "Bad request",
"error_description": "There was a syntax error, check your params request and try it again."
}Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"error": {
"type": "string",
"description": "Short http error code description"
},
"error_description": {
"type": "string",
"description": "Detailed description of the error returned."
}
},
"required": [
"error",
"error_description"
]
}Headers
Content-Type: application/json;charset=UTF-8Body
{
"error": "Unauthorized",
"error_description": "Full authentication is required to access this resource"
}Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"error": {
"type": "string",
"description": "Short http error code description."
},
"error_description": {
"type": "string",
"description": "Detailed description of the error returned."
}
},
"required": [
"error",
"error_description"
]
}Headers
Content-Type: application/json;charset=UTF-8Body
{
"statusCode": 1010,
"responseTime": "08-03-2017 13:46:03.657"
}Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"statusCode": {
"type": "number",
"description": "This is the Onebox error codes. Get the full list here: [go to Onebox error responses](http://developer.oneboxtickets.com/httpresponsecodes.html)"
},
"responseTime": {
"type": "string"
}
},
"required": [
"statusCode",
"responseTime"
]
}Set delivery methodPOST/shoppingCart/delivery{?orderDeliveryCost,token,type}
Use this service to add sets of delivery method and the costs per item and costs per order.
- token
string(required) Example: 188a5cf2a844e684375172cb1cf2bbf3- orderDeliveryCost
number(required) Example: 0- type
number(required) Example: 1Choices:
12345
Release Items ¶
Headers
Authorization: Bearer [ACCESS_TOKEN]
Content-Type: application/json
Accept: application/json- Headers
traceID:
String: Unique id to identify the transaction within the Onebox API audit systemOB_Error_Code:Number: This is the Onebox error codes. Get the full list here: [go to Onebox error responses](http://developer.oneboxtickets.com/httpresponsecodes.html)
Headers
Content-Type: application/json;charset=UTF-8Body
{
"client": {
"@id": 123,
"name": "First name",
"lastname": "Last name",
"$": "1970-01-01",
"email": "email@domain.com",
"receiptMail": "email@domain.com",
"ticketMail": "email@domain.com",
"phone": "0034 555 55 55",
"identification": {
"value": "",
"@type": ""
},
"gender": "NOT_DEFINED",
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
},
"profile-data": {
"@`profile-id`": 123,
"profile-field": [
{
"@`field-id`": 123,
"idValue": [],
"user-input-value": []
}
]
},
"language": {
"value": "",
"@code": ""
},
"groupValidation": [
{
"@idGroup": 123,
"user": "",
"promotionalCode": "",
"externalProperties": {}
}
]
},
"shoppingCartItem": [
{
"shopping-cart-item": {
"ticket-data": {},
"product-data": {
"venue": {
"@id": 432432,
"@name": "World Park",
"@timeZone": "Europe/Berlin",
"communication-elements": {
"@language": "en_US",
"images": [
{
"@type": "LOGO_WEB",
"@order": 1,
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"videos": [
{
"@type": "VIDEO",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"files": [
{
"@type": "FILE",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"banners": [
{
"@type": "CHANNEL_PURCHASE_HEADER_BANNER",
"imageUrl": "https://s3.amazonaws.com/onebox-repository/pro/1/1/itemIdioma/1741/1_image_1340695930723.jpg",
"linkUrl": "http://www.website.com/channel_id"
}
]
},
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
}
},
"product-info": {
"@id": 10,
"internalName": "",
"name": "",
"dates": {
"datetime": [
{
"@type": "EVENT_BEGIN",
"@pendingConfirmation": false,
"@timeZoneId": "Europe/Berlin",
"$": "2018-01-07T19:00:00.000+01:00"
}
]
},
"venue": {
"@id": 432432,
"@name": "World Park",
"@timeZone": "Europe/Berlin",
"communication-elements": {
"@language": "en_US",
"images": [
{
"@type": "LOGO_WEB",
"@order": 1,
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"videos": [
{
"@type": "VIDEO",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"files": [
{
"@type": "FILE",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"banners": [
{
"@type": "CHANNEL_PURCHASE_HEADER_BANNER",
"imageUrl": "https://s3.amazonaws.com/onebox-repository/pro/1/1/itemIdioma/1741/1_image_1340695930723.jpg",
"linkUrl": "http://www.website.com/channel_id"
}
]
},
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
}
},
"catalog-info": {
"entityId": 0,
"name": ""
},
"attributes": {
"attribute": [
{
"@id": 10,
"name": ""
}
]
},
"product-image": [],
"forSale": false,
"bookable": false,
"product-variant": [
{
"id": 10,
"sku": "",
"price-breakdown": {
"base-price": 10,
"automatic-promotion": 0,
"manual-promotion": 0,
"manual-discount": 0,
"client-discount": 0,
"client-comission": 0,
"charges": {
"charge": [
{
"@type": "CHANNEL_CHARGE",
"value 1.5": 0
}
]
},
"delivery-costs": 0,
"insurance": 0,
"taxes": {
"tax": [
{
"@id": 10,
"value": 0
}
]
},
"final-price": 20
},
"limited-stock": false,
"variant-availability": 0,
"variant-attributes": {
"variant-attribute": [
{
"attribute": {
"@id": 10,
"name": ""
},
"value": ""
}
]
},
"venue": {
"@id": 432432,
"@name": "World Park",
"@timeZone": "Europe/Berlin",
"communication-elements": {
"@language": "en_US",
"images": [
{
"@type": "LOGO_WEB",
"@order": 1,
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"videos": [
{
"@type": "VIDEO",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"files": [
{
"@type": "FILE",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"banners": [
{
"@type": "CHANNEL_PURCHASE_HEADER_BANNER",
"imageUrl": "https://s3.amazonaws.com/onebox-repository/pro/1/1/itemIdioma/1741/1_image_1340695930723.jpg",
"linkUrl": "http://www.website.com/channel_id"
}
]
},
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
}
},
"catalog-info": {
"entityId": 0,
"name": ""
},
"product-info": {
"@id": 10,
"internalName": "",
"name": "",
"dates": {
"datetime": [
{
"@type": "EVENT_BEGIN",
"@pendingConfirmation": false,
"@timeZoneId": "Europe/Berlin",
"$": "2018-01-07T19:00:00.000+01:00"
}
]
},
"venue": {
"@id": 432432,
"@name": "World Park",
"@timeZone": "Europe/Berlin",
"communication-elements": {
"@language": "en_US",
"images": [
{
"@type": "LOGO_WEB",
"@order": 1,
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"videos": [
{
"@type": "VIDEO",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"files": [
{
"@type": "FILE",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"banners": [
{
"@type": "CHANNEL_PURCHASE_HEADER_BANNER",
"imageUrl": "https://s3.amazonaws.com/onebox-repository/pro/1/1/itemIdioma/1741/1_image_1340695930723.jpg",
"linkUrl": "http://www.website.com/channel_id"
}
]
},
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
}
},
"catalog-info": {
"entityId": 0,
"name": ""
},
"attributes": {
"attribute": [
{
"@id": 10,
"name": ""
}
]
},
"product-image": [],
"forSale": false,
"bookable": false,
"product-variant": []
}
}
]
},
"variant-attributes": {
"variant-attribute": [
{
"attribute": {
"@id": 10,
"name": ""
},
"value": ""
}
]
},
"printouts": 0,
"cancellations": 0,
"status": "PURCHASED",
"sku": "",
"customer": {
"@id": 123,
"name": "First name",
"lastname": "Last name",
"$": "1970-01-01",
"email": "email@domain.com",
"receiptMail": "email@domain.com",
"ticketMail": "email@domain.com",
"phone": "0034 555 55 55",
"identification": {
"value": "",
"@type": ""
},
"gender": "NOT_DEFINED",
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
},
"profile-data": {
"@`profile-id`": 123,
"profile-field": [
{
"@`field-id`": 123,
"idValue": [],
"user-input-value": []
}
]
},
"language": {
"value": "",
"@code": ""
},
"groupValidation": [
{
"@idGroup": 123,
"user": "",
"promotionalCode": "",
"externalProperties": {}
}
]
},
"session-basic-info": {
"@id": 5553432,
"internalName": "7 days 1 park",
"name": "7 days 1 park",
"description": "<P ALIGN=\\\"LEFT\\\">Six amazing worlds in just one Park, perfect for having fun in family and frends as well.</P>",
"dates": {
"datetime": [
{
"@type": "EVENT_BEGIN",
"@pendingConfirmation": false,
"@timeZoneId": "Europe/Berlin",
"$": "2018-01-07T19:00:00.000+01:00"
}
]
},
"venue": {
"@id": 432432,
"@name": "World Park",
"@timeZone": "Europe/Berlin",
"communication-elements": {
"@language": "en_US",
"images": [
{
"@type": "LOGO_WEB",
"@order": 1,
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"videos": [
{
"@type": "VIDEO",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"files": [
{
"@type": "FILE",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"banners": [
{
"@type": "CHANNEL_PURCHASE_HEADER_BANNER",
"imageUrl": "https://s3.amazonaws.com/onebox-repository/pro/1/1/itemIdioma/1741/1_image_1340695930723.jpg",
"linkUrl": "http://www.website.com/channel_id"
}
]
},
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
}
},
"space": {
"id": 150,
"name": "SPACE"
},
"event-basic-info": {
"@id": 23454,
"internalName": "7 days 1 park",
"externalReferenceCode": "EXT-123",
"title": "Theme Park",
"subtitle": "¡Discover the 6 worlds adrenaline!",
"shortDescription": "<P ALIGN=\\\"LEFT\\\">Six amazing worlds in just one Park, perfect for having fun in family and frends as well.</P>",
"longDescription": "<P ALIGN=\\\"LEFT\\\">Explore a whole world of fun and know our amazing theme parks. An ideal destination for a family getaway, located in one of the best tourist areas of Spain and just an hour from Barcelona! </ P> <BR/> <P ALIGN = \\ \"LEFT \\\"> The best entertainment, relaxation, gastronomy and shopping you can imagine. > A DESTINY AND SIX WORLDS TO DISCOVER </ P> <P ALIGN = \\ \"LEFT \\\"> Here begins a journey that takes you much further than you can imagine. At the Park we look forward to six fascinating worlds completely different, with a careful decoration to the last detail, so that you enjoy to the maximum. Emotions for all tastes. Families, friends, big and small: in our theme park, all the fun.</P>",
"additionalEventData": "",
"duration": "",
"communication-elements": {
"@language": "en_US",
"images": [
{
"@type": "LOGO_WEB",
"@order": 1,
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"videos": [
{
"@type": "VIDEO",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"files": [
{
"@type": "FILE",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"banners": [
{
"@type": "CHANNEL_PURCHASE_HEADER_BANNER",
"imageUrl": "https://s3.amazonaws.com/onebox-repository/pro/1/1/itemIdioma/1741/1_image_1340695930723.jpg",
"linkUrl": "http://www.website.com/channel_id"
}
]
},
"taxonomy": {
"@id": 68,
"code": "APRTEM",
"description": "Theme Parks",
"superior-taxonomy": {
"@id": 68,
"code": "APRTEM",
"description": "Theme Parks"
}
},
"custom-taxonomy": {
"@id": 68,
"code": "APRTEM",
"description": "Theme Parks"
},
"promoter-custom-taxonomy": {
"@id": 68,
"code": "APRTEM",
"description": "Theme Parks"
},
"languages": {
"language": [
"",
"ca_ES"
]
},
"dates": {
"datetime": [
{
"@type": "EVENT_BEGIN",
"@pendingConfirmation": false,
"@timeZoneId": "Europe/Berlin",
"$": "2018-01-07T19:00:00.000+01:00"
}
]
},
"entidad": {
"@id": 123,
"name": "Theme Park",
"nif": "A54343234",
"email": "info@theme.park",
"phoneNumber": "0034 555 55 55",
"timeZone": "Europe/Madrid",
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
}
},
"promotor": {
"@id": 475,
"corporateName": "Theme Park Entertainment SA.",
"fiscalCode": "A53776307",
"email": "info@theme.park",
"phoneNumber": "0034 555 55 55",
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
}
},
"tour": {
"@id": 475,
"name": "Theme Park",
"promotorReference": "Theme Park Entertainment SA."
},
"severalVenues": false,
"severalLocations": false,
"supraEvent": false,
"giftTicket": false,
"nominal": false,
"eventType": "EVENT",
"attribute-values": [
{
"attribute-info": {
"id": 0,
"name": "",
"selection": "SINGLE",
"domain-value-info": [
{
"idValue": 10,
"value": "oneboxtm",
"referenceCode": "OB"
}
],
"domain": "EVENT",
"valueType": "DOMAIN_VALUE",
"referenceCode": "Attr"
},
"attribute-value": [
{
"user-input-value": {},
"domain-value": {
"value": "``",
"idValue": 30
}
}
],
"idAttribute": 50,
"description": "DESCRIPTION"
}
],
"passbookPreferences": {
"communication-elements": {
"@language": "en_US",
"images": [
{
"@type": "LOGO_WEB",
"@order": 1,
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"videos": [
{
"@type": "VIDEO",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"files": [
{
"@type": "FILE",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"banners": [
{
"@type": "CHANNEL_PURCHASE_HEADER_BANNER",
"imageUrl": "https://s3.amazonaws.com/onebox-repository/pro/1/1/itemIdioma/1741/1_image_1340695930723.jpg",
"linkUrl": "http://www.website.com/channel_id"
}
]
}
},
"clientEventDiscount": {
"discountType": "AMOUNT"
}
},
"forSale": true,
"blockingReasons": "",
"hasProducts": false,
"admission": "ALL_AGES_ADMITTED",
"supportedEventType": "EVENT",
"supportedVisitorType": "INDIVIDUAL",
"attribute-values": [
{
"attribute-info": {
"id": 0,
"name": "",
"selection": "SINGLE",
"domain-value-info": [
{
"idValue": 10,
"value": "oneboxtm",
"referenceCode": "OB"
}
],
"domain": "EVENT",
"valueType": "DOMAIN_VALUE",
"referenceCode": "Attr"
},
"attribute-value": [
{
"user-input-value": {},
"domain-value": {
"value": "``",
"idValue": 30
}
}
],
"idAttribute": 50,
"description": "DESCRIPTION"
}
],
"visitorGroupConfig": "",
"hideSessionDates": false,
"showDate": false,
"showDatetime": false,
"@rates": "7 days 1 park UK/PAP17",
"season-session-info": {
"beginDate": "2015-09-01T12:00:00+01:00",
"endDate": "2015-10-01T12:00:00+01:00",
"idsSeasonSessions": [],
"seasonSessions": {
"@id": 5553432,
"internalName": "7 days 1 park",
"name": "7 days 1 park",
"description": "<P ALIGN=\\\"LEFT\\\">Six amazing worlds in just one Park, perfect for having fun in family and frends as well.</P>",
"dates": {
"datetime": [
{
"@type": "EVENT_BEGIN",
"@pendingConfirmation": false,
"@timeZoneId": "Europe/Berlin",
"$": "2018-01-07T19:00:00.000+01:00"
}
]
},
"venue": {
"@id": 432432,
"@name": "World Park",
"@timeZone": "Europe/Berlin",
"communication-elements": {
"@language": "en_US",
"images": [
{
"@type": "LOGO_WEB",
"@order": 1,
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"videos": [
{
"@type": "VIDEO",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"files": [
{
"@type": "FILE",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"banners": [
{
"@type": "CHANNEL_PURCHASE_HEADER_BANNER",
"imageUrl": "https://s3.amazonaws.com/onebox-repository/pro/1/1/itemIdioma/1741/1_image_1340695930723.jpg",
"linkUrl": "http://www.website.com/channel_id"
}
]
},
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
}
},
"space": {
"id": 150,
"name": "SPACE"
},
"event-basic-info": {
"@id": 23454,
"internalName": "7 days 1 park",
"externalReferenceCode": "EXT-123",
"title": "Theme Park",
"subtitle": "¡Discover the 6 worlds adrenaline!",
"shortDescription": "<P ALIGN=\\\"LEFT\\\">Six amazing worlds in just one Park, perfect for having fun in family and frends as well.</P>",
"longDescription": "<P ALIGN=\\\"LEFT\\\">Explore a whole world of fun and know our amazing theme parks. An ideal destination for a family getaway, located in one of the best tourist areas of Spain and just an hour from Barcelona! </ P> <BR/> <P ALIGN = \\ \"LEFT \\\"> The best entertainment, relaxation, gastronomy and shopping you can imagine. > A DESTINY AND SIX WORLDS TO DISCOVER </ P> <P ALIGN = \\ \"LEFT \\\"> Here begins a journey that takes you much further than you can imagine. At the Park we look forward to six fascinating worlds completely different, with a careful decoration to the last detail, so that you enjoy to the maximum. Emotions for all tastes. Families, friends, big and small: in our theme park, all the fun.</P>",
"additionalEventData": "",
"duration": "",
"communication-elements": {
"@language": "en_US",
"images": [
{
"@type": "LOGO_WEB",
"@order": 1,
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"videos": [
{
"@type": "VIDEO",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"files": [
{
"@type": "FILE",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"banners": [
{
"@type": "CHANNEL_PURCHASE_HEADER_BANNER",
"imageUrl": "https://s3.amazonaws.com/onebox-repository/pro/1/1/itemIdioma/1741/1_image_1340695930723.jpg",
"linkUrl": "http://www.website.com/channel_id"
}
]
},
"taxonomy": {
"@id": 68,
"code": "APRTEM",
"description": "Theme Parks",
"superior-taxonomy": {
"@id": 68,
"code": "APRTEM",
"description": "Theme Parks"
}
},
"custom-taxonomy": {
"@id": 68,
"code": "APRTEM",
"description": "Theme Parks"
},
"promoter-custom-taxonomy": {
"@id": 68,
"code": "APRTEM",
"description": "Theme Parks"
},
"languages": {
"language": [
"",
"ca_ES"
]
},
"dates": {
"datetime": [
{
"@type": "EVENT_BEGIN",
"@pendingConfirmation": false,
"@timeZoneId": "Europe/Berlin",
"$": "2018-01-07T19:00:00.000+01:00"
}
]
},
"entidad": {
"@id": 123,
"name": "Theme Park",
"nif": "A54343234",
"email": "info@theme.park",
"phoneNumber": "0034 555 55 55",
"timeZone": "Europe/Madrid",
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
}
},
"promotor": {
"@id": 475,
"corporateName": "Theme Park Entertainment SA.",
"fiscalCode": "A53776307",
"email": "info@theme.park",
"phoneNumber": "0034 555 55 55",
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
}
},
"tour": {
"@id": 475,
"name": "Theme Park",
"promotorReference": "Theme Park Entertainment SA."
},
"severalVenues": false,
"severalLocations": false,
"supraEvent": false,
"giftTicket": false,
"nominal": false,
"eventType": "EVENT",
"attribute-values": [
{
"attribute-info": {
"id": 0,
"name": "",
"selection": "SINGLE",
"domain-value-info": [
{
"idValue": 10,
"value": "oneboxtm",
"referenceCode": "OB"
}
],
"domain": "EVENT",
"valueType": "DOMAIN_VALUE",
"referenceCode": "Attr"
},
"attribute-value": [
{
"user-input-value": {},
"domain-value": {
"value": "``",
"idValue": 30
}
}
],
"idAttribute": 50,
"description": "DESCRIPTION"
}
],
"passbookPreferences": {
"communication-elements": {
"@language": "en_US",
"images": [
{
"@type": "LOGO_WEB",
"@order": 1,
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"videos": [
{
"@type": "VIDEO",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"files": [
{
"@type": "FILE",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"banners": [
{
"@type": "CHANNEL_PURCHASE_HEADER_BANNER",
"imageUrl": "https://s3.amazonaws.com/onebox-repository/pro/1/1/itemIdioma/1741/1_image_1340695930723.jpg",
"linkUrl": "http://www.website.com/channel_id"
}
]
}
},
"clientEventDiscount": {
"discountType": "AMOUNT"
}
},
"forSale": true,
"blockingReasons": "",
"hasProducts": false,
"admission": "ALL_AGES_ADMITTED",
"supportedEventType": "EVENT",
"supportedVisitorType": "INDIVIDUAL",
"attribute-values": [
{
"attribute-info": {
"id": 0,
"name": "",
"selection": "SINGLE",
"domain-value-info": [
{
"idValue": 10,
"value": "oneboxtm",
"referenceCode": "OB"
}
],
"domain": "EVENT",
"valueType": "DOMAIN_VALUE",
"referenceCode": "Attr"
},
"attribute-value": [
{
"user-input-value": {},
"domain-value": {
"value": "``",
"idValue": 30
}
}
],
"idAttribute": 50,
"description": "DESCRIPTION"
}
],
"visitorGroupConfig": "",
"hideSessionDates": false,
"showDate": false,
"showDatetime": false,
"@rates": "7 days 1 park UK/PAP17",
"season-session-info": {}
},
"@isSeasonSession": 0
}
},
"event-basic-info": {
"@id": 23454,
"internalName": "7 days 1 park",
"externalReferenceCode": "EXT-123",
"title": "Theme Park",
"subtitle": "¡Discover the 6 worlds adrenaline!",
"shortDescription": "<P ALIGN=\\\"LEFT\\\">Six amazing worlds in just one Park, perfect for having fun in family and frends as well.</P>",
"longDescription": "<P ALIGN=\\\"LEFT\\\">Explore a whole world of fun and know our amazing theme parks. An ideal destination for a family getaway, located in one of the best tourist areas of Spain and just an hour from Barcelona! </ P> <BR/> <P ALIGN = \\ \"LEFT \\\"> The best entertainment, relaxation, gastronomy and shopping you can imagine. > A DESTINY AND SIX WORLDS TO DISCOVER </ P> <P ALIGN = \\ \"LEFT \\\"> Here begins a journey that takes you much further than you can imagine. At the Park we look forward to six fascinating worlds completely different, with a careful decoration to the last detail, so that you enjoy to the maximum. Emotions for all tastes. Families, friends, big and small: in our theme park, all the fun.</P>",
"additionalEventData": "",
"duration": "",
"communication-elements": {
"@language": "en_US",
"images": [
{
"@type": "LOGO_WEB",
"@order": 1,
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"videos": [
{
"@type": "VIDEO",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"files": [
{
"@type": "FILE",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"banners": [
{
"@type": "CHANNEL_PURCHASE_HEADER_BANNER",
"imageUrl": "https://s3.amazonaws.com/onebox-repository/pro/1/1/itemIdioma/1741/1_image_1340695930723.jpg",
"linkUrl": "http://www.website.com/channel_id"
}
]
},
"taxonomy": {
"@id": 68,
"code": "APRTEM",
"description": "Theme Parks",
"superior-taxonomy": {
"@id": 68,
"code": "APRTEM",
"description": "Theme Parks"
}
},
"custom-taxonomy": {
"@id": 68,
"code": "APRTEM",
"description": "Theme Parks"
},
"promoter-custom-taxonomy": {
"@id": 68,
"code": "APRTEM",
"description": "Theme Parks"
},
"languages": {
"language": [
"",
"ca_ES"
]
},
"dates": {
"datetime": [
{
"@type": "EVENT_BEGIN",
"@pendingConfirmation": false,
"@timeZoneId": "Europe/Berlin",
"$": "2018-01-07T19:00:00.000+01:00"
}
]
},
"entidad": {
"@id": 123,
"name": "Theme Park",
"nif": "A54343234",
"email": "info@theme.park",
"phoneNumber": "0034 555 55 55",
"timeZone": "Europe/Madrid",
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
}
},
"promotor": {
"@id": 475,
"corporateName": "Theme Park Entertainment SA.",
"fiscalCode": "A53776307",
"email": "info@theme.park",
"phoneNumber": "0034 555 55 55",
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
}
},
"tour": {
"@id": 475,
"name": "Theme Park",
"promotorReference": "Theme Park Entertainment SA."
},
"severalVenues": false,
"severalLocations": false,
"supraEvent": false,
"giftTicket": false,
"nominal": false,
"eventType": "EVENT",
"attribute-values": [
{
"attribute-info": {
"id": 0,
"name": "",
"selection": "SINGLE",
"domain-value-info": [
{
"idValue": 10,
"value": "oneboxtm",
"referenceCode": "OB"
}
],
"domain": "EVENT",
"valueType": "DOMAIN_VALUE",
"referenceCode": "Attr"
},
"attribute-value": [
{
"user-input-value": {},
"domain-value": {
"value": "``",
"idValue": 30
}
}
],
"idAttribute": 50,
"description": "DESCRIPTION"
}
],
"passbookPreferences": {
"communication-elements": {
"@language": "en_US",
"images": [
{
"@type": "LOGO_WEB",
"@order": 1,
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"videos": [
{
"@type": "VIDEO",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"files": [
{
"@type": "FILE",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"banners": [
{
"@type": "CHANNEL_PURCHASE_HEADER_BANNER",
"imageUrl": "https://s3.amazonaws.com/onebox-repository/pro/1/1/itemIdioma/1741/1_image_1340695930723.jpg",
"linkUrl": "http://www.website.com/channel_id"
}
]
}
},
"clientEventDiscount": {
"discountType": "AMOUNT"
}
},
"automatic": "",
"promotion": {
"@id": 10,
"activator": "",
"promotionComElements": {
"name": "NAME",
"description": "DESCRIPTION"
}
},
"discount": {
"@id": 10,
"activator": "",
"promotionComElements": {
"name": "NAME",
"description": "DESCRIPTION"
}
},
"productAcquisitionType": "GENERAL"
},
"automatic-protmotion": {
"@id": 30,
"promotionComElements": {
"name": "NAME",
"description": "DESCRIPTION"
},
"type": "PERCENTAGE",
"value": 10,
"priceZonesIds": {
"priceZonesId": [
10,
12,
15
]
},
"group": {
"i@d": 30,
"name": "NAME",
"validationType": "CHANNEL",
"validationMethod": "PROMOTIONAL_CODE"
},
"limitedUses": false
},
"promotion": {
"@id": 30,
"promotionComElements": {
"name": "NAME",
"description": "DESCRIPTION"
},
"type": "PERCENTAGE",
"value": 10,
"priceZonesIds": {
"priceZonesId": [
10,
12,
15
]
},
"group": {
"i@d": 30,
"name": "NAME",
"validationType": "CHANNEL",
"validationMethod": "PROMOTIONAL_CODE"
},
"restrictions": {
"packItems": 0,
"maxItems": 0,
"minItems": 0
},
"mandatory": false,
"self-managed": false,
"limitedUses": false,
"dates": {
"datetime": [
{
"@type": "EVENT_BEGIN",
"@pendingConfirmation": false,
"@timeZoneId": "Europe/Berlin",
"$": "2018-01-07T19:00:00.000+01:00"
}
]
}
},
"promotionActivator": "",
"productId": 0,
"discount": {
"@id": 30,
"promotionComElements": {
"name": "NAME",
"description": "DESCRIPTION"
},
"type": "PERCENTAGE",
"value": 10,
"priceZonesIds": {
"priceZonesId": [
10,
12,
15
]
},
"group": {
"i@d": 30,
"name": "NAME",
"validationType": "CHANNEL",
"validationMethod": "PROMOTIONAL_CODE"
},
"restrictions": {
"packItems": 0,
"maxItems": 0,
"minItems": 0
},
"mandatory": false,
"self-managed": false,
"limitedUses": false,
"dates": {
"datetime": [
{
"@type": "EVENT_BEGIN",
"@pendingConfirmation": false,
"@timeZoneId": "Europe/Berlin",
"$": "2018-01-07T19:00:00.000+01:00"
}
]
}
},
"discountActivator'": "",
"price": "",
"operationsAllowed": {
"printInvoice": false
},
"attendant": {
"field": [
{
"@name": "",
"@value": ""
}
],
"clientDiscount": {
"@value": 0,
"type": "PERCENT"
},
"clientCommission": {
"@value": 0,
"type": "PERCENT"
}
},
"itemWarning": [
"",
"SESSION_NON_CONSECUTIVE_SEAT"
],
"modifyingBookingOrderCode": "",
"clientConiditions": {
"@id": 123
},
"@id": 0,
"@type": "TICKET"
}
}
],
"deliveryMethod": 0,
"deliveryCosts": 0,
"insurance": {
"@id": 123,
"name": "",
"description": "",
"privacyPolicy": "",
"termsOfUse": "",
"additionalData": ""
},
"visitorGroup": [
{
"@id": 123,
"name": "",
"numAttendants": 0,
"numAccompanists": 0,
"attribute-values": [
{
"attribute-info": {
"id": 0,
"name": "",
"selection": "SINGLE",
"domain-value-info": [
{
"idValue": 10,
"value": "oneboxtm",
"referenceCode": "OB"
}
],
"domain": "EVENT",
"valueType": "DOMAIN_VALUE",
"referenceCode": "Attr"
},
"attribute-value": [
{
"user-input-value": {},
"domain-value": {
"value": "``",
"idValue": 30
}
}
],
"idAttribute": 50,
"description": "DESCRIPTION"
}
]
}
],
"totalPriceBreakdown": {
"base-price": 10,
"automatic-promotion": 0,
"manual-promotion": 0,
"manual-discount": 0,
"client-discount": 0,
"client-comission": 0,
"charges": {
"charge": [
{
"@type": "CHANNEL_CHARGE",
"value 1.5": 0
}
]
},
"delivery-costs": 0,
"insurance": 0,
"taxes": {
"tax": [
{
"@id": 10,
"value": 0
}
]
},
"final-price": 20
},
"platformClient": {
"id": 123,
"name": "",
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
},
"clientB2B": {
"businessName": "",
"description": "",
"iataCode": "",
"taxId": "",
"tags": "",
"clientB2BBranch": {
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
},
"contactName": "",
"contactEmail": "",
"contactPhone": "",
"@main": false
},
"user": {
"@id": 123,
"name": "",
"email": "",
"username": ""
},
"@category": 0
},
"type": "B2B"
},
"@token": "",
"@currency": "",
"@timeleft": 0
}Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"client": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique customer identifier."
},
"name": {
"type": "string"
},
"lastname": {
"type": "string"
},
"$": {
"type": "string"
},
"email": {
"type": "string"
},
"receiptMail": {
"type": "string"
},
"ticketMail": {
"type": "string"
},
"phone": {
"type": "string"
},
"identification": {
"type": "object",
"properties": {
"value": {
"type": "string"
},
"@type": {
"type": "string"
}
},
"required": [
"value",
"@type"
]
},
"gender": {
"type": "string",
"enum": [
"NOT_DEFINED",
"MALE",
"FEMALE"
]
},
"location": {
"type": "object",
"properties": {
"address": {
"type": "string",
"description": "Venue address where the event will be performed."
},
"city": {
"type": "string",
"description": "City where the event will be performed."
},
"postalCode": {
"type": "string",
"description": "Postal code or zip code where the event will be performed."
},
"countrySubdivision": {
"type": "object",
"properties": {
"@code": {
"type": "string",
"description": "Item unique identifier."
},
"$": {
"type": "string",
"description": "Item value string."
}
},
"required": [
"@code",
"$"
],
"description": "`Country subdivision, this shall be the province, state or county. Ie: ES-T - Tarragona.`"
},
"country": {
"type": "object",
"properties": {
"@code": {
"type": "string",
"description": "Item unique identifier."
},
"$": {
"type": "string",
"description": "Item value string."
}
},
"required": [
"@code",
"$"
],
"description": "`Ie: ES - Spain.`"
},
"coordinates": {
"type": "string"
}
},
"required": [
"address",
"city",
"postalCode",
"countrySubdivision",
"country"
]
},
"idCard": {
"type": "string"
},
"docType": {
"type": "number"
},
"profile-data": {
"type": "object",
"properties": {
"@`profile-id`": {
"type": "number",
"description": "Unique profile data identifier."
},
"profile-field": {
"type": "array"
}
},
"required": [
"@`profile-id`"
]
},
"language": {
"type": "object",
"properties": {
"value": {
"type": "string"
},
"@code": {
"type": "string"
}
},
"required": [
"value",
"@code"
]
},
"groupValidation": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@idGroup": {
"type": "number",
"description": "Unique group validation identifier."
},
"user": {
"type": "string"
},
"promotionalCode": {
"type": "string"
},
"externalProperties": {
"type": "object",
"properties": {
"externalId": {
"type": "string"
}
}
}
},
"required": [
"@idGroup",
"user",
"promotionalCode"
]
}
},
"allowCommercialMailing": {
"type": "boolean"
}
},
"required": [
"@id",
"name",
"lastname",
"$",
"gender",
"location"
]
},
"shoppingCartItem": {
"type": "array"
},
"deliveryMethod": {
"type": "number"
},
"deliveryCosts": {
"type": "number"
},
"insurance": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique insurance identifier."
},
"name": {
"type": "string"
},
"description": {
"type": "string"
},
"privacyPolicy": {
"type": "string"
},
"termsOfUse": {
"type": "string"
},
"additionalData": {
"type": "string"
}
},
"required": [
"@id",
"name",
"description",
"privacyPolicy",
"termsOfUse",
"additionalData"
]
},
"visitorGroup": {
"type": "array"
},
"totalPriceBreakdown": {
"type": "object",
"properties": {
"base-price": {
"type": "number"
},
"automatic-promotion": {
"type": "number"
},
"manual-promotion": {
"type": "number"
},
"manual-discount": {
"type": "number"
},
"client-discount": {
"type": "number"
},
"client-comission": {
"type": "number"
},
"charges": {
"type": "object",
"properties": {
"charge": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"enum": [
"CHANNEL_CHARGE",
"PROMOTER_CHARGE",
"PROMOTER_CHANNEL_CHARGE"
]
},
"value 1.5": {
"type": "number",
"description": "Value of the charge."
}
},
"required": [
"value 1.5"
]
}
}
},
"required": [
"charge"
]
},
"delivery-costs": {
"type": "number"
},
"insurance": {
"type": "number"
},
"taxes": {
"type": "object",
"properties": {
"tax": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique product identifier."
},
"value": {
"type": "number"
}
},
"required": [
"@id",
"value"
]
}
}
},
"required": [
"tax"
]
},
"final-price": {
"type": "number"
}
},
"required": [
"base-price",
"final-price"
]
},
"platformClient": {
"type": "object",
"properties": {
"id": {
"type": "number",
"description": "Unique platform client identifier."
},
"name": {
"type": "string"
},
"location": {
"type": "object",
"properties": {
"address": {
"type": "string",
"description": "Venue address where the event will be performed."
},
"city": {
"type": "string",
"description": "City where the event will be performed."
},
"postalCode": {
"type": "string",
"description": "Postal code or zip code where the event will be performed."
},
"countrySubdivision": {
"type": "object",
"properties": {
"@code": {
"type": "string",
"description": "Item unique identifier."
},
"$": {
"type": "string",
"description": "Item value string."
}
},
"required": [
"@code",
"$"
],
"description": "`Country subdivision, this shall be the province, state or county. Ie: ES-T - Tarragona.`"
},
"country": {
"type": "object",
"properties": {
"@code": {
"type": "string",
"description": "Item unique identifier."
},
"$": {
"type": "string",
"description": "Item value string."
}
},
"required": [
"@code",
"$"
],
"description": "`Ie: ES - Spain.`"
},
"coordinates": {
"type": "string"
}
},
"required": [
"address",
"city",
"postalCode",
"countrySubdivision",
"country"
]
},
"clientB2B": {
"type": "object",
"properties": {
"businessName": {
"type": "string"
},
"description": {
"type": "string"
},
"iataCode": {
"type": "string"
},
"taxId": {
"type": "string"
},
"tags": {
"type": "string"
},
"clientB2BBranch": {
"type": "object",
"properties": {
"location": {
"type": "object",
"properties": {
"address": {
"type": "string",
"description": "Venue address where the event will be performed."
},
"city": {
"type": "string",
"description": "City where the event will be performed."
},
"postalCode": {
"type": "string",
"description": "Postal code or zip code where the event will be performed."
},
"countrySubdivision": {
"type": "object",
"properties": {
"@code": {
"type": "string",
"description": "Item unique identifier."
},
"$": {
"type": "string",
"description": "Item value string."
}
},
"required": [
"@code",
"$"
],
"description": "`Country subdivision, this shall be the province, state or county. Ie: ES-T - Tarragona.`"
},
"country": {
"type": "object",
"properties": {
"@code": {
"type": "string",
"description": "Item unique identifier."
},
"$": {
"type": "string",
"description": "Item value string."
}
},
"required": [
"@code",
"$"
],
"description": "`Ie: ES - Spain.`"
},
"coordinates": {
"type": "string"
}
},
"required": [
"address",
"city",
"postalCode",
"countrySubdivision",
"country"
]
},
"contactName": {
"type": "string"
},
"contactEmail": {
"type": "string"
},
"contactPhone": {
"type": "string"
},
"@main": {
"type": "boolean"
}
},
"required": [
"location",
"contactName",
"contactEmail",
"contactPhone",
"@main"
]
},
"user": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique user identifier."
},
"name": {
"type": "string"
},
"email": {
"type": "string"
},
"username": {
"type": "string"
}
},
"required": [
"@id",
"name",
"email",
"username"
]
},
"@category": {
"type": "number"
}
},
"required": [
"businessName",
"description",
"iataCode",
"taxId",
"tags",
"clientB2BBranch",
"user"
]
},
"type": {
"type": "string",
"enum": [
"B2B",
"B2C"
]
}
},
"required": [
"id",
"name"
]
},
"@token": {
"type": "string"
},
"@currency": {
"type": "string"
},
"@timeleft": {
"type": "number"
}
},
"required": [
"client",
"shoppingCartItem",
"visitorGroup",
"totalPriceBreakdown",
"platformClient",
"@token",
"@currency",
"@timeleft"
]
}Headers
Content-Type: application/json;charset=UTF-8Body
{
"error": "Bad request",
"error_description": "There was a syntax error, check your params request and try it again."
}Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"error": {
"type": "string",
"description": "Short http error code description"
},
"error_description": {
"type": "string",
"description": "Detailed description of the error returned."
}
},
"required": [
"error",
"error_description"
]
}Headers
Content-Type: application/json;charset=UTF-8Body
{
"error": "Unauthorized",
"error_description": "Full authentication is required to access this resource"
}Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"error": {
"type": "string",
"description": "Short http error code description."
},
"error_description": {
"type": "string",
"description": "Detailed description of the error returned."
}
},
"required": [
"error",
"error_description"
]
}Headers
Content-Type: application/json;charset=UTF-8Body
{
"statusCode": 1010,
"responseTime": "08-03-2017 13:46:03.657"
}Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"statusCode": {
"type": "number",
"description": "This is the Onebox error codes. Get the full list here: [go to Onebox error responses](http://developer.oneboxtickets.com/httpresponsecodes.html)"
},
"responseTime": {
"type": "string"
}
},
"required": [
"statusCode",
"responseTime"
]
}Release selected itemsPOST/shoppingCart/releaseItems{?items,token}
Use this service to release the seats from the shopping cart and makes it available for anyone.
- items
array[number](required) Example: 10, 12, 15- token
string(required) Example: 188a5cf2a844e684375172cb1cf2bbf3
3. Order ¶
This group contains all the related services and resources to be able to create a pre-booking order from a given shoppingcart, to release its items and to finally confirm it.
Pre-Book an Order ¶
Headers
Authorization: Bearer [ACCESS_TOKEN]
Content-Type: application/json
Accept: application/json- Headers
traceID:
String: Unique id to identify the transaction within the Onebox API audit systemOB_Error_Code:Number: This is the Onebox error codes. Get the full list here: [go to Onebox error responses](http://developer.oneboxtickets.com/httpresponsecodes.html)
Headers
Content-Type: application/json;charset=UTF-8Body
{
"client": {
"@id": 123,
"name": "First name",
"lastname": "Last name",
"$": "1970-01-01",
"email": "email@domain.com",
"receiptMail": "email@domain.com",
"ticketMail": "email@domain.com",
"phone": "0034 555 55 55",
"identification": {
"value": "",
"@type": ""
},
"gender": "NOT_DEFINED",
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
},
"profile-data": {
"@`profile-id`": 123,
"profile-field": [
{
"@`field-id`": 123,
"idValue": [],
"user-input-value": []
}
]
},
"language": {
"value": "",
"@code": ""
},
"groupValidation": [
{
"@idGroup": 123,
"user": "",
"promotionalCode": "",
"externalProperties": {}
}
]
},
"operationsOrderAllowed": {
"printInvoice": false
},
"order-item": [
{
"@id": 123,
"@type": "TICKET",
"ticket-data": {
"notNumberedAreaName": "",
"numSeat": "",
"rowName": "",
"sectorName": "",
"printouts": 0,
"cancellations": 0,
"barcode": "",
"status": "PURCHASED",
"accessibility": "NORMAL",
"visibility": "NORMAL",
"customer": {
"@id": 123,
"name": "First name",
"lastname": "Last name",
"$": "1970-01-01",
"email": "email@domain.com",
"receiptMail": "email@domain.com",
"ticketMail": "email@domain.com",
"phone": "0034 555 55 55",
"identification": {
"value": "",
"@type": ""
},
"gender": "NOT_DEFINED",
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
},
"profile-data": {
"@`profile-id`": 123,
"profile-field": [
{
"@`field-id`": 123,
"idValue": [],
"user-input-value": []
}
]
},
"language": {
"value": "",
"@code": ""
},
"groupValidation": [
{
"@idGroup": 123,
"user": "",
"promotionalCode": "",
"externalProperties": {}
}
]
},
"session-basic-info": {
"@id": 5553432,
"internalName": "7 days 1 park",
"name": "7 days 1 park",
"description": "<P ALIGN=\\\"LEFT\\\">Six amazing worlds in just one Park, perfect for having fun in family and frends as well.</P>",
"dates": {
"datetime": [
{
"@type": "EVENT_BEGIN",
"@pendingConfirmation": false,
"@timeZoneId": "Europe/Berlin",
"$": "2018-01-07T19:00:00.000+01:00"
}
]
},
"venue": {
"@id": 432432,
"@name": "World Park",
"@timeZone": "Europe/Berlin",
"communication-elements": {
"@language": "en_US",
"images": [
{
"@type": "LOGO_WEB",
"@order": 1,
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"videos": [
{
"@type": "VIDEO",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"files": [
{
"@type": "FILE",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"banners": [
{
"@type": "CHANNEL_PURCHASE_HEADER_BANNER",
"imageUrl": "https://s3.amazonaws.com/onebox-repository/pro/1/1/itemIdioma/1741/1_image_1340695930723.jpg",
"linkUrl": "http://www.website.com/channel_id"
}
]
},
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
}
},
"space": {
"id": 150,
"name": "SPACE"
},
"event-basic-info": {
"@id": 23454,
"internalName": "7 days 1 park",
"externalReferenceCode": "EXT-123",
"title": "Theme Park",
"subtitle": "¡Discover the 6 worlds adrenaline!",
"shortDescription": "<P ALIGN=\\\"LEFT\\\">Six amazing worlds in just one Park, perfect for having fun in family and frends as well.</P>",
"longDescription": "<P ALIGN=\\\"LEFT\\\">Explore a whole world of fun and know our amazing theme parks. An ideal destination for a family getaway, located in one of the best tourist areas of Spain and just an hour from Barcelona! </ P> <BR/> <P ALIGN = \\ \"LEFT \\\"> The best entertainment, relaxation, gastronomy and shopping you can imagine. > A DESTINY AND SIX WORLDS TO DISCOVER </ P> <P ALIGN = \\ \"LEFT \\\"> Here begins a journey that takes you much further than you can imagine. At the Park we look forward to six fascinating worlds completely different, with a careful decoration to the last detail, so that you enjoy to the maximum. Emotions for all tastes. Families, friends, big and small: in our theme park, all the fun.</P>",
"additionalEventData": "",
"duration": "",
"communication-elements": {
"@language": "en_US",
"images": [
{
"@type": "LOGO_WEB",
"@order": 1,
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"videos": [
{
"@type": "VIDEO",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"files": [
{
"@type": "FILE",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"banners": [
{
"@type": "CHANNEL_PURCHASE_HEADER_BANNER",
"imageUrl": "https://s3.amazonaws.com/onebox-repository/pro/1/1/itemIdioma/1741/1_image_1340695930723.jpg",
"linkUrl": "http://www.website.com/channel_id"
}
]
},
"taxonomy": {
"@id": 68,
"code": "APRTEM",
"description": "Theme Parks",
"superior-taxonomy": {
"@id": 68,
"code": "APRTEM",
"description": "Theme Parks"
}
},
"custom-taxonomy": {
"@id": 68,
"code": "APRTEM",
"description": "Theme Parks"
},
"promoter-custom-taxonomy": {
"@id": 68,
"code": "APRTEM",
"description": "Theme Parks"
},
"languages": {
"language": [
"",
"ca_ES"
]
},
"dates": {
"datetime": [
{
"@type": "EVENT_BEGIN",
"@pendingConfirmation": false,
"@timeZoneId": "Europe/Berlin",
"$": "2018-01-07T19:00:00.000+01:00"
}
]
},
"entidad": {
"@id": 123,
"name": "Theme Park",
"nif": "A54343234",
"email": "info@theme.park",
"phoneNumber": "0034 555 55 55",
"timeZone": "Europe/Madrid",
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
}
},
"promotor": {
"@id": 475,
"corporateName": "Theme Park Entertainment SA.",
"fiscalCode": "A53776307",
"email": "info@theme.park",
"phoneNumber": "0034 555 55 55",
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
}
},
"tour": {
"@id": 475,
"name": "Theme Park",
"promotorReference": "Theme Park Entertainment SA."
},
"severalVenues": false,
"severalLocations": false,
"supraEvent": false,
"giftTicket": false,
"nominal": false,
"eventType": "EVENT",
"attribute-values": [
{
"attribute-info": {
"id": 0,
"name": "",
"selection": "SINGLE",
"domain-value-info": [
{
"idValue": 10,
"value": "oneboxtm",
"referenceCode": "OB"
}
],
"domain": "EVENT",
"valueType": "DOMAIN_VALUE",
"referenceCode": "Attr"
},
"attribute-value": [
{
"user-input-value": {},
"domain-value": {
"value": "``",
"idValue": 30
}
}
],
"idAttribute": 50,
"description": "DESCRIPTION"
}
],
"passbookPreferences": {
"communication-elements": {
"@language": "en_US",
"images": [
{
"@type": "LOGO_WEB",
"@order": 1,
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"videos": [
{
"@type": "VIDEO",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"files": [
{
"@type": "FILE",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"banners": [
{
"@type": "CHANNEL_PURCHASE_HEADER_BANNER",
"imageUrl": "https://s3.amazonaws.com/onebox-repository/pro/1/1/itemIdioma/1741/1_image_1340695930723.jpg",
"linkUrl": "http://www.website.com/channel_id"
}
]
}
},
"clientEventDiscount": {
"discountType": "AMOUNT"
}
},
"forSale": true,
"blockingReasons": "",
"hasProducts": false,
"admission": "ALL_AGES_ADMITTED",
"supportedEventType": "EVENT",
"supportedVisitorType": "INDIVIDUAL",
"attribute-values": [
{
"attribute-info": {
"id": 0,
"name": "",
"selection": "SINGLE",
"domain-value-info": [
{
"idValue": 10,
"value": "oneboxtm",
"referenceCode": "OB"
}
],
"domain": "EVENT",
"valueType": "DOMAIN_VALUE",
"referenceCode": "Attr"
},
"attribute-value": [
{
"user-input-value": {},
"domain-value": {
"value": "``",
"idValue": 30
}
}
],
"idAttribute": 50,
"description": "DESCRIPTION"
}
],
"visitorGroupConfig": "",
"hideSessionDates": false,
"showDate": false,
"showDatetime": false,
"@rates": "7 days 1 park UK/PAP17",
"season-session-info": {
"beginDate": "2015-09-01T12:00:00+01:00",
"endDate": "2015-10-01T12:00:00+01:00",
"idsSeasonSessions": [],
"seasonSessions": {
"@id": 5553432,
"internalName": "7 days 1 park",
"name": "7 days 1 park",
"description": "<P ALIGN=\\\"LEFT\\\">Six amazing worlds in just one Park, perfect for having fun in family and frends as well.</P>",
"dates": {
"datetime": [
{
"@type": "EVENT_BEGIN",
"@pendingConfirmation": false,
"@timeZoneId": "Europe/Berlin",
"$": "2018-01-07T19:00:00.000+01:00"
}
]
},
"venue": {
"@id": 432432,
"@name": "World Park",
"@timeZone": "Europe/Berlin",
"communication-elements": {
"@language": "en_US",
"images": [
{
"@type": "LOGO_WEB",
"@order": 1,
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"videos": [
{
"@type": "VIDEO",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"files": [
{
"@type": "FILE",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"banners": [
{
"@type": "CHANNEL_PURCHASE_HEADER_BANNER",
"imageUrl": "https://s3.amazonaws.com/onebox-repository/pro/1/1/itemIdioma/1741/1_image_1340695930723.jpg",
"linkUrl": "http://www.website.com/channel_id"
}
]
},
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
}
},
"space": {
"id": 150,
"name": "SPACE"
},
"event-basic-info": {
"@id": 23454,
"internalName": "7 days 1 park",
"externalReferenceCode": "EXT-123",
"title": "Theme Park",
"subtitle": "¡Discover the 6 worlds adrenaline!",
"shortDescription": "<P ALIGN=\\\"LEFT\\\">Six amazing worlds in just one Park, perfect for having fun in family and frends as well.</P>",
"longDescription": "<P ALIGN=\\\"LEFT\\\">Explore a whole world of fun and know our amazing theme parks. An ideal destination for a family getaway, located in one of the best tourist areas of Spain and just an hour from Barcelona! </ P> <BR/> <P ALIGN = \\ \"LEFT \\\"> The best entertainment, relaxation, gastronomy and shopping you can imagine. > A DESTINY AND SIX WORLDS TO DISCOVER </ P> <P ALIGN = \\ \"LEFT \\\"> Here begins a journey that takes you much further than you can imagine. At the Park we look forward to six fascinating worlds completely different, with a careful decoration to the last detail, so that you enjoy to the maximum. Emotions for all tastes. Families, friends, big and small: in our theme park, all the fun.</P>",
"additionalEventData": "",
"duration": "",
"communication-elements": {
"@language": "en_US",
"images": [
{
"@type": "LOGO_WEB",
"@order": 1,
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"videos": [
{
"@type": "VIDEO",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"files": [
{
"@type": "FILE",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"banners": [
{
"@type": "CHANNEL_PURCHASE_HEADER_BANNER",
"imageUrl": "https://s3.amazonaws.com/onebox-repository/pro/1/1/itemIdioma/1741/1_image_1340695930723.jpg",
"linkUrl": "http://www.website.com/channel_id"
}
]
},
"taxonomy": {
"@id": 68,
"code": "APRTEM",
"description": "Theme Parks",
"superior-taxonomy": {
"@id": 68,
"code": "APRTEM",
"description": "Theme Parks"
}
},
"custom-taxonomy": {
"@id": 68,
"code": "APRTEM",
"description": "Theme Parks"
},
"promoter-custom-taxonomy": {
"@id": 68,
"code": "APRTEM",
"description": "Theme Parks"
},
"languages": {
"language": [
"",
"ca_ES"
]
},
"dates": {
"datetime": [
{
"@type": "EVENT_BEGIN",
"@pendingConfirmation": false,
"@timeZoneId": "Europe/Berlin",
"$": "2018-01-07T19:00:00.000+01:00"
}
]
},
"entidad": {
"@id": 123,
"name": "Theme Park",
"nif": "A54343234",
"email": "info@theme.park",
"phoneNumber": "0034 555 55 55",
"timeZone": "Europe/Madrid",
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
}
},
"promotor": {
"@id": 475,
"corporateName": "Theme Park Entertainment SA.",
"fiscalCode": "A53776307",
"email": "info@theme.park",
"phoneNumber": "0034 555 55 55",
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
}
},
"tour": {
"@id": 475,
"name": "Theme Park",
"promotorReference": "Theme Park Entertainment SA."
},
"severalVenues": false,
"severalLocations": false,
"supraEvent": false,
"giftTicket": false,
"nominal": false,
"eventType": "EVENT",
"attribute-values": [
{
"attribute-info": {
"id": 0,
"name": "",
"selection": "SINGLE",
"domain-value-info": [
{
"idValue": 10,
"value": "oneboxtm",
"referenceCode": "OB"
}
],
"domain": "EVENT",
"valueType": "DOMAIN_VALUE",
"referenceCode": "Attr"
},
"attribute-value": [
{
"user-input-value": {},
"domain-value": {
"value": "``",
"idValue": 30
}
}
],
"idAttribute": 50,
"description": "DESCRIPTION"
}
],
"passbookPreferences": {
"communication-elements": {
"@language": "en_US",
"images": [
{
"@type": "LOGO_WEB",
"@order": 1,
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"videos": [
{
"@type": "VIDEO",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"files": [
{
"@type": "FILE",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"banners": [
{
"@type": "CHANNEL_PURCHASE_HEADER_BANNER",
"imageUrl": "https://s3.amazonaws.com/onebox-repository/pro/1/1/itemIdioma/1741/1_image_1340695930723.jpg",
"linkUrl": "http://www.website.com/channel_id"
}
]
}
},
"clientEventDiscount": {
"discountType": "AMOUNT"
}
},
"forSale": true,
"blockingReasons": "",
"hasProducts": false,
"admission": "ALL_AGES_ADMITTED",
"supportedEventType": "EVENT",
"supportedVisitorType": "INDIVIDUAL",
"attribute-values": [
{
"attribute-info": {
"id": 0,
"name": "",
"selection": "SINGLE",
"domain-value-info": [
{
"idValue": 10,
"value": "oneboxtm",
"referenceCode": "OB"
}
],
"domain": "EVENT",
"valueType": "DOMAIN_VALUE",
"referenceCode": "Attr"
},
"attribute-value": [
{
"user-input-value": {},
"domain-value": {
"value": "``",
"idValue": 30
}
}
],
"idAttribute": 50,
"description": "DESCRIPTION"
}
],
"visitorGroupConfig": "",
"hideSessionDates": false,
"showDate": false,
"showDatetime": false,
"@rates": "7 days 1 park UK/PAP17",
"season-session-info": {}
},
"@isSeasonSession": 0
}
},
"automatic-promotion": {
"@id": 10,
"promotionComElements": {
"name": "NAME",
"description": "DESCRIPTION"
}
},
"promotion": {
"@id": 10,
"activator": "",
"promotionComElements": {
"name": "NAME",
"description": "DESCRIPTION"
}
},
"discount": {
"@id": 10,
"activator": "",
"promotionComElements": {
"name": "NAME",
"description": "DESCRIPTION"
}
},
"viewId": 0,
"notNumberedAreaId": 0,
"sectorId": 0,
"priceZoneId": 0,
"access": "",
"idTicketActivityType": 0,
"nameTicketActivityType": "",
"externalData": {
"access": "",
"gate": "",
"entrance": "",
"zone": ""
},
"idVisitorGroup": 0,
"visitorGroupNumAttendantsVariation": 0,
"visitorGroupNumAccompanistsVariation": 0,
"@seatType": "NUMBERED",
"@ticketType": "GENERAL"
},
"product-data": {
"venue": {
"@id": 432432,
"@name": "World Park",
"@timeZone": "Europe/Berlin",
"communication-elements": {
"@language": "en_US",
"images": [
{
"@type": "LOGO_WEB",
"@order": 1,
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"videos": [
{
"@type": "VIDEO",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"files": [
{
"@type": "FILE",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"banners": [
{
"@type": "CHANNEL_PURCHASE_HEADER_BANNER",
"imageUrl": "https://s3.amazonaws.com/onebox-repository/pro/1/1/itemIdioma/1741/1_image_1340695930723.jpg",
"linkUrl": "http://www.website.com/channel_id"
}
]
},
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
}
},
"product-info": {
"@id": 10,
"internalName": "",
"name": "",
"dates": {
"datetime": [
{
"@type": "EVENT_BEGIN",
"@pendingConfirmation": false,
"@timeZoneId": "Europe/Berlin",
"$": "2018-01-07T19:00:00.000+01:00"
}
]
},
"venue": {
"@id": 432432,
"@name": "World Park",
"@timeZone": "Europe/Berlin",
"communication-elements": {
"@language": "en_US",
"images": [
{
"@type": "LOGO_WEB",
"@order": 1,
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"videos": [
{
"@type": "VIDEO",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"files": [
{
"@type": "FILE",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"banners": [
{
"@type": "CHANNEL_PURCHASE_HEADER_BANNER",
"imageUrl": "https://s3.amazonaws.com/onebox-repository/pro/1/1/itemIdioma/1741/1_image_1340695930723.jpg",
"linkUrl": "http://www.website.com/channel_id"
}
]
},
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
}
},
"catalog-info": {
"entityId": 0,
"name": ""
},
"attributes": {
"attribute": [
{
"@id": 10,
"name": ""
}
]
},
"product-image": [],
"forSale": false,
"bookable": false,
"product-variant": [
{
"id": 10,
"sku": "",
"price-breakdown": {
"base-price": 10,
"automatic-promotion": 0,
"manual-promotion": 0,
"manual-discount": 0,
"client-discount": 0,
"client-comission": 0,
"charges": {
"charge": [
{
"@type": "CHANNEL_CHARGE",
"value 1.5": 0
}
]
},
"delivery-costs": 0,
"insurance": 0,
"taxes": {
"tax": [
{
"@id": 10,
"value": 0
}
]
},
"final-price": 20
},
"limited-stock": false,
"variant-availability": 0,
"variant-attributes": {
"variant-attribute": [
{
"attribute": {
"@id": 10,
"name": ""
},
"value": ""
}
]
},
"venue": {
"@id": 432432,
"@name": "World Park",
"@timeZone": "Europe/Berlin",
"communication-elements": {
"@language": "en_US",
"images": [
{
"@type": "LOGO_WEB",
"@order": 1,
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"videos": [
{
"@type": "VIDEO",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"files": [
{
"@type": "FILE",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"banners": [
{
"@type": "CHANNEL_PURCHASE_HEADER_BANNER",
"imageUrl": "https://s3.amazonaws.com/onebox-repository/pro/1/1/itemIdioma/1741/1_image_1340695930723.jpg",
"linkUrl": "http://www.website.com/channel_id"
}
]
},
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
}
},
"catalog-info": {
"entityId": 0,
"name": ""
},
"product-info": {
"@id": 10,
"internalName": "",
"name": "",
"dates": {
"datetime": [
{
"@type": "EVENT_BEGIN",
"@pendingConfirmation": false,
"@timeZoneId": "Europe/Berlin",
"$": "2018-01-07T19:00:00.000+01:00"
}
]
},
"venue": {
"@id": 432432,
"@name": "World Park",
"@timeZone": "Europe/Berlin",
"communication-elements": {
"@language": "en_US",
"images": [
{
"@type": "LOGO_WEB",
"@order": 1,
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"videos": [
{
"@type": "VIDEO",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"files": [
{
"@type": "FILE",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"banners": [
{
"@type": "CHANNEL_PURCHASE_HEADER_BANNER",
"imageUrl": "https://s3.amazonaws.com/onebox-repository/pro/1/1/itemIdioma/1741/1_image_1340695930723.jpg",
"linkUrl": "http://www.website.com/channel_id"
}
]
},
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
}
},
"catalog-info": {
"entityId": 0,
"name": ""
},
"attributes": {
"attribute": [
{
"@id": 10,
"name": ""
}
]
},
"product-image": [],
"forSale": false,
"bookable": false,
"product-variant": []
}
}
]
},
"variant-attributes": {
"variant-attribute": [
{
"attribute": {
"@id": 10,
"name": ""
},
"value": ""
}
]
},
"printouts": 0,
"cancellations": 0,
"status": "PURCHASED",
"sku": "",
"customer": {
"@id": 123,
"name": "First name",
"lastname": "Last name",
"$": "1970-01-01",
"email": "email@domain.com",
"receiptMail": "email@domain.com",
"ticketMail": "email@domain.com",
"phone": "0034 555 55 55",
"identification": {
"value": "",
"@type": ""
},
"gender": "NOT_DEFINED",
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
},
"profile-data": {
"@`profile-id`": 123,
"profile-field": [
{
"@`field-id`": 123,
"idValue": [],
"user-input-value": []
}
]
},
"language": {
"value": "",
"@code": ""
},
"groupValidation": [
{
"@idGroup": 123,
"user": "",
"promotionalCode": "",
"externalProperties": {}
}
]
},
"session-basic-info": {
"@id": 5553432,
"internalName": "7 days 1 park",
"name": "7 days 1 park",
"description": "<P ALIGN=\\\"LEFT\\\">Six amazing worlds in just one Park, perfect for having fun in family and frends as well.</P>",
"dates": {
"datetime": [
{
"@type": "EVENT_BEGIN",
"@pendingConfirmation": false,
"@timeZoneId": "Europe/Berlin",
"$": "2018-01-07T19:00:00.000+01:00"
}
]
},
"venue": {
"@id": 432432,
"@name": "World Park",
"@timeZone": "Europe/Berlin",
"communication-elements": {
"@language": "en_US",
"images": [
{
"@type": "LOGO_WEB",
"@order": 1,
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"videos": [
{
"@type": "VIDEO",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"files": [
{
"@type": "FILE",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"banners": [
{
"@type": "CHANNEL_PURCHASE_HEADER_BANNER",
"imageUrl": "https://s3.amazonaws.com/onebox-repository/pro/1/1/itemIdioma/1741/1_image_1340695930723.jpg",
"linkUrl": "http://www.website.com/channel_id"
}
]
},
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
}
},
"space": {
"id": 150,
"name": "SPACE"
},
"event-basic-info": {
"@id": 23454,
"internalName": "7 days 1 park",
"externalReferenceCode": "EXT-123",
"title": "Theme Park",
"subtitle": "¡Discover the 6 worlds adrenaline!",
"shortDescription": "<P ALIGN=\\\"LEFT\\\">Six amazing worlds in just one Park, perfect for having fun in family and frends as well.</P>",
"longDescription": "<P ALIGN=\\\"LEFT\\\">Explore a whole world of fun and know our amazing theme parks. An ideal destination for a family getaway, located in one of the best tourist areas of Spain and just an hour from Barcelona! </ P> <BR/> <P ALIGN = \\ \"LEFT \\\"> The best entertainment, relaxation, gastronomy and shopping you can imagine. > A DESTINY AND SIX WORLDS TO DISCOVER </ P> <P ALIGN = \\ \"LEFT \\\"> Here begins a journey that takes you much further than you can imagine. At the Park we look forward to six fascinating worlds completely different, with a careful decoration to the last detail, so that you enjoy to the maximum. Emotions for all tastes. Families, friends, big and small: in our theme park, all the fun.</P>",
"additionalEventData": "",
"duration": "",
"communication-elements": {
"@language": "en_US",
"images": [
{
"@type": "LOGO_WEB",
"@order": 1,
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"videos": [
{
"@type": "VIDEO",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"files": [
{
"@type": "FILE",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"banners": [
{
"@type": "CHANNEL_PURCHASE_HEADER_BANNER",
"imageUrl": "https://s3.amazonaws.com/onebox-repository/pro/1/1/itemIdioma/1741/1_image_1340695930723.jpg",
"linkUrl": "http://www.website.com/channel_id"
}
]
},
"taxonomy": {
"@id": 68,
"code": "APRTEM",
"description": "Theme Parks",
"superior-taxonomy": {
"@id": 68,
"code": "APRTEM",
"description": "Theme Parks"
}
},
"custom-taxonomy": {
"@id": 68,
"code": "APRTEM",
"description": "Theme Parks"
},
"promoter-custom-taxonomy": {
"@id": 68,
"code": "APRTEM",
"description": "Theme Parks"
},
"languages": {
"language": [
"",
"ca_ES"
]
},
"dates": {
"datetime": [
{
"@type": "EVENT_BEGIN",
"@pendingConfirmation": false,
"@timeZoneId": "Europe/Berlin",
"$": "2018-01-07T19:00:00.000+01:00"
}
]
},
"entidad": {
"@id": 123,
"name": "Theme Park",
"nif": "A54343234",
"email": "info@theme.park",
"phoneNumber": "0034 555 55 55",
"timeZone": "Europe/Madrid",
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
}
},
"promotor": {
"@id": 475,
"corporateName": "Theme Park Entertainment SA.",
"fiscalCode": "A53776307",
"email": "info@theme.park",
"phoneNumber": "0034 555 55 55",
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
}
},
"tour": {
"@id": 475,
"name": "Theme Park",
"promotorReference": "Theme Park Entertainment SA."
},
"severalVenues": false,
"severalLocations": false,
"supraEvent": false,
"giftTicket": false,
"nominal": false,
"eventType": "EVENT",
"attribute-values": [
{
"attribute-info": {
"id": 0,
"name": "",
"selection": "SINGLE",
"domain-value-info": [
{
"idValue": 10,
"value": "oneboxtm",
"referenceCode": "OB"
}
],
"domain": "EVENT",
"valueType": "DOMAIN_VALUE",
"referenceCode": "Attr"
},
"attribute-value": [
{
"user-input-value": {},
"domain-value": {
"value": "``",
"idValue": 30
}
}
],
"idAttribute": 50,
"description": "DESCRIPTION"
}
],
"passbookPreferences": {
"communication-elements": {
"@language": "en_US",
"images": [
{
"@type": "LOGO_WEB",
"@order": 1,
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"videos": [
{
"@type": "VIDEO",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"files": [
{
"@type": "FILE",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"banners": [
{
"@type": "CHANNEL_PURCHASE_HEADER_BANNER",
"imageUrl": "https://s3.amazonaws.com/onebox-repository/pro/1/1/itemIdioma/1741/1_image_1340695930723.jpg",
"linkUrl": "http://www.website.com/channel_id"
}
]
}
},
"clientEventDiscount": {
"discountType": "AMOUNT"
}
},
"forSale": true,
"blockingReasons": "",
"hasProducts": false,
"admission": "ALL_AGES_ADMITTED",
"supportedEventType": "EVENT",
"supportedVisitorType": "INDIVIDUAL",
"attribute-values": [
{
"attribute-info": {
"id": 0,
"name": "",
"selection": "SINGLE",
"domain-value-info": [
{
"idValue": 10,
"value": "oneboxtm",
"referenceCode": "OB"
}
],
"domain": "EVENT",
"valueType": "DOMAIN_VALUE",
"referenceCode": "Attr"
},
"attribute-value": [
{
"user-input-value": {},
"domain-value": {
"value": "``",
"idValue": 30
}
}
],
"idAttribute": 50,
"description": "DESCRIPTION"
}
],
"visitorGroupConfig": "",
"hideSessionDates": false,
"showDate": false,
"showDatetime": false,
"@rates": "7 days 1 park UK/PAP17",
"season-session-info": {
"beginDate": "2015-09-01T12:00:00+01:00",
"endDate": "2015-10-01T12:00:00+01:00",
"idsSeasonSessions": [],
"seasonSessions": {
"@id": 5553432,
"internalName": "7 days 1 park",
"name": "7 days 1 park",
"description": "<P ALIGN=\\\"LEFT\\\">Six amazing worlds in just one Park, perfect for having fun in family and frends as well.</P>",
"dates": {
"datetime": [
{
"@type": "EVENT_BEGIN",
"@pendingConfirmation": false,
"@timeZoneId": "Europe/Berlin",
"$": "2018-01-07T19:00:00.000+01:00"
}
]
},
"venue": {
"@id": 432432,
"@name": "World Park",
"@timeZone": "Europe/Berlin",
"communication-elements": {
"@language": "en_US",
"images": [
{
"@type": "LOGO_WEB",
"@order": 1,
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"videos": [
{
"@type": "VIDEO",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"files": [
{
"@type": "FILE",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"banners": [
{
"@type": "CHANNEL_PURCHASE_HEADER_BANNER",
"imageUrl": "https://s3.amazonaws.com/onebox-repository/pro/1/1/itemIdioma/1741/1_image_1340695930723.jpg",
"linkUrl": "http://www.website.com/channel_id"
}
]
},
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
}
},
"space": {
"id": 150,
"name": "SPACE"
},
"event-basic-info": {
"@id": 23454,
"internalName": "7 days 1 park",
"externalReferenceCode": "EXT-123",
"title": "Theme Park",
"subtitle": "¡Discover the 6 worlds adrenaline!",
"shortDescription": "<P ALIGN=\\\"LEFT\\\">Six amazing worlds in just one Park, perfect for having fun in family and frends as well.</P>",
"longDescription": "<P ALIGN=\\\"LEFT\\\">Explore a whole world of fun and know our amazing theme parks. An ideal destination for a family getaway, located in one of the best tourist areas of Spain and just an hour from Barcelona! </ P> <BR/> <P ALIGN = \\ \"LEFT \\\"> The best entertainment, relaxation, gastronomy and shopping you can imagine. > A DESTINY AND SIX WORLDS TO DISCOVER </ P> <P ALIGN = \\ \"LEFT \\\"> Here begins a journey that takes you much further than you can imagine. At the Park we look forward to six fascinating worlds completely different, with a careful decoration to the last detail, so that you enjoy to the maximum. Emotions for all tastes. Families, friends, big and small: in our theme park, all the fun.</P>",
"additionalEventData": "",
"duration": "",
"communication-elements": {
"@language": "en_US",
"images": [
{
"@type": "LOGO_WEB",
"@order": 1,
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"videos": [
{
"@type": "VIDEO",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"files": [
{
"@type": "FILE",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"banners": [
{
"@type": "CHANNEL_PURCHASE_HEADER_BANNER",
"imageUrl": "https://s3.amazonaws.com/onebox-repository/pro/1/1/itemIdioma/1741/1_image_1340695930723.jpg",
"linkUrl": "http://www.website.com/channel_id"
}
]
},
"taxonomy": {
"@id": 68,
"code": "APRTEM",
"description": "Theme Parks",
"superior-taxonomy": {
"@id": 68,
"code": "APRTEM",
"description": "Theme Parks"
}
},
"custom-taxonomy": {
"@id": 68,
"code": "APRTEM",
"description": "Theme Parks"
},
"promoter-custom-taxonomy": {
"@id": 68,
"code": "APRTEM",
"description": "Theme Parks"
},
"languages": {
"language": [
"",
"ca_ES"
]
},
"dates": {
"datetime": [
{
"@type": "EVENT_BEGIN",
"@pendingConfirmation": false,
"@timeZoneId": "Europe/Berlin",
"$": "2018-01-07T19:00:00.000+01:00"
}
]
},
"entidad": {
"@id": 123,
"name": "Theme Park",
"nif": "A54343234",
"email": "info@theme.park",
"phoneNumber": "0034 555 55 55",
"timeZone": "Europe/Madrid",
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
}
},
"promotor": {
"@id": 475,
"corporateName": "Theme Park Entertainment SA.",
"fiscalCode": "A53776307",
"email": "info@theme.park",
"phoneNumber": "0034 555 55 55",
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
}
},
"tour": {
"@id": 475,
"name": "Theme Park",
"promotorReference": "Theme Park Entertainment SA."
},
"severalVenues": false,
"severalLocations": false,
"supraEvent": false,
"giftTicket": false,
"nominal": false,
"eventType": "EVENT",
"attribute-values": [
{
"attribute-info": {
"id": 0,
"name": "",
"selection": "SINGLE",
"domain-value-info": [
{
"idValue": 10,
"value": "oneboxtm",
"referenceCode": "OB"
}
],
"domain": "EVENT",
"valueType": "DOMAIN_VALUE",
"referenceCode": "Attr"
},
"attribute-value": [
{
"user-input-value": {},
"domain-value": {
"value": "``",
"idValue": 30
}
}
],
"idAttribute": 50,
"description": "DESCRIPTION"
}
],
"passbookPreferences": {
"communication-elements": {
"@language": "en_US",
"images": [
{
"@type": "LOGO_WEB",
"@order": 1,
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"videos": [
{
"@type": "VIDEO",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"files": [
{
"@type": "FILE",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"banners": [
{
"@type": "CHANNEL_PURCHASE_HEADER_BANNER",
"imageUrl": "https://s3.amazonaws.com/onebox-repository/pro/1/1/itemIdioma/1741/1_image_1340695930723.jpg",
"linkUrl": "http://www.website.com/channel_id"
}
]
}
},
"clientEventDiscount": {
"discountType": "AMOUNT"
}
},
"forSale": true,
"blockingReasons": "",
"hasProducts": false,
"admission": "ALL_AGES_ADMITTED",
"supportedEventType": "EVENT",
"supportedVisitorType": "INDIVIDUAL",
"attribute-values": [
{
"attribute-info": {
"id": 0,
"name": "",
"selection": "SINGLE",
"domain-value-info": [
{
"idValue": 10,
"value": "oneboxtm",
"referenceCode": "OB"
}
],
"domain": "EVENT",
"valueType": "DOMAIN_VALUE",
"referenceCode": "Attr"
},
"attribute-value": [
{
"user-input-value": {},
"domain-value": {
"value": "``",
"idValue": 30
}
}
],
"idAttribute": 50,
"description": "DESCRIPTION"
}
],
"visitorGroupConfig": "",
"hideSessionDates": false,
"showDate": false,
"showDatetime": false,
"@rates": "7 days 1 park UK/PAP17",
"season-session-info": {}
},
"@isSeasonSession": 0
}
},
"event-basic-info": {
"@id": 23454,
"internalName": "7 days 1 park",
"externalReferenceCode": "EXT-123",
"title": "Theme Park",
"subtitle": "¡Discover the 6 worlds adrenaline!",
"shortDescription": "<P ALIGN=\\\"LEFT\\\">Six amazing worlds in just one Park, perfect for having fun in family and frends as well.</P>",
"longDescription": "<P ALIGN=\\\"LEFT\\\">Explore a whole world of fun and know our amazing theme parks. An ideal destination for a family getaway, located in one of the best tourist areas of Spain and just an hour from Barcelona! </ P> <BR/> <P ALIGN = \\ \"LEFT \\\"> The best entertainment, relaxation, gastronomy and shopping you can imagine. > A DESTINY AND SIX WORLDS TO DISCOVER </ P> <P ALIGN = \\ \"LEFT \\\"> Here begins a journey that takes you much further than you can imagine. At the Park we look forward to six fascinating worlds completely different, with a careful decoration to the last detail, so that you enjoy to the maximum. Emotions for all tastes. Families, friends, big and small: in our theme park, all the fun.</P>",
"additionalEventData": "",
"duration": "",
"communication-elements": {
"@language": "en_US",
"images": [
{
"@type": "LOGO_WEB",
"@order": 1,
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"videos": [
{
"@type": "VIDEO",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"files": [
{
"@type": "FILE",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"banners": [
{
"@type": "CHANNEL_PURCHASE_HEADER_BANNER",
"imageUrl": "https://s3.amazonaws.com/onebox-repository/pro/1/1/itemIdioma/1741/1_image_1340695930723.jpg",
"linkUrl": "http://www.website.com/channel_id"
}
]
},
"taxonomy": {
"@id": 68,
"code": "APRTEM",
"description": "Theme Parks",
"superior-taxonomy": {
"@id": 68,
"code": "APRTEM",
"description": "Theme Parks"
}
},
"custom-taxonomy": {
"@id": 68,
"code": "APRTEM",
"description": "Theme Parks"
},
"promoter-custom-taxonomy": {
"@id": 68,
"code": "APRTEM",
"description": "Theme Parks"
},
"languages": {
"language": [
"",
"ca_ES"
]
},
"dates": {
"datetime": [
{
"@type": "EVENT_BEGIN",
"@pendingConfirmation": false,
"@timeZoneId": "Europe/Berlin",
"$": "2018-01-07T19:00:00.000+01:00"
}
]
},
"entidad": {
"@id": 123,
"name": "Theme Park",
"nif": "A54343234",
"email": "info@theme.park",
"phoneNumber": "0034 555 55 55",
"timeZone": "Europe/Madrid",
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
}
},
"promotor": {
"@id": 475,
"corporateName": "Theme Park Entertainment SA.",
"fiscalCode": "A53776307",
"email": "info@theme.park",
"phoneNumber": "0034 555 55 55",
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
}
},
"tour": {
"@id": 475,
"name": "Theme Park",
"promotorReference": "Theme Park Entertainment SA."
},
"severalVenues": false,
"severalLocations": false,
"supraEvent": false,
"giftTicket": false,
"nominal": false,
"eventType": "EVENT",
"attribute-values": [
{
"attribute-info": {
"id": 0,
"name": "",
"selection": "SINGLE",
"domain-value-info": [
{
"idValue": 10,
"value": "oneboxtm",
"referenceCode": "OB"
}
],
"domain": "EVENT",
"valueType": "DOMAIN_VALUE",
"referenceCode": "Attr"
},
"attribute-value": [
{
"user-input-value": {},
"domain-value": {
"value": "``",
"idValue": 30
}
}
],
"idAttribute": 50,
"description": "DESCRIPTION"
}
],
"passbookPreferences": {
"communication-elements": {
"@language": "en_US",
"images": [
{
"@type": "LOGO_WEB",
"@order": 1,
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"videos": [
{
"@type": "VIDEO",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"files": [
{
"@type": "FILE",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"banners": [
{
"@type": "CHANNEL_PURCHASE_HEADER_BANNER",
"imageUrl": "https://s3.amazonaws.com/onebox-repository/pro/1/1/itemIdioma/1741/1_image_1340695930723.jpg",
"linkUrl": "http://www.website.com/channel_id"
}
]
}
},
"clientEventDiscount": {
"discountType": "AMOUNT"
}
},
"automatic": "",
"promotion": {
"@id": 10,
"activator": "",
"promotionComElements": {
"name": "NAME",
"description": "DESCRIPTION"
}
},
"discount": {
"@id": 10,
"activator": "",
"promotionComElements": {
"name": "NAME",
"description": "DESCRIPTION"
}
},
"productAcquisitionType": "GENERAL"
},
"price-breakdown": {
"base-price": 10,
"automatic-promotion": 0,
"manual-promotion": 0,
"manual-discount": 0,
"client-discount": 0,
"client-comission": 0,
"charges": {
"charge": [
{
"@type": "CHANNEL_CHARGE",
"value 1.5": 0
}
]
},
"delivery-costs": 0,
"insurance": 0,
"taxes": {
"tax": [
{
"@id": 10,
"value": 0
}
]
},
"final-price": 20
},
"bookingIssueStatus": "PENDING",
"$": "2015-09-01T12:00:00+01:00",
"operationsAllowed": {
"printInvoice": false
},
"itemWarning": [
"",
"SESSION_NON_CONSECUTIVE_SEAT"
],
"attendant": {
"field": [
{
"@name": "",
"@value": ""
}
],
"clientDiscount": {
"@value": 0,
"type": "PERCENT"
},
"clientCommission": {
"@value": 0,
"type": "PERCENT"
}
},
"clientConditions": {
"@id": 123
},
"@relatedRefundOrderCode": "",
"@relatedBookingIssueOrderCode": "",
"@relatedBookingIssueOrderType": "PURCHASE",
"originalBookingOrderCode": ""
}
],
"insurance": {
"@id": 123,
"name": "",
"description": "",
"privacyPolicy": "",
"termsOfUse": "",
"additionalData": ""
},
"price-breakdown": {
"base-price": 10,
"automatic-promotion": 0,
"manual-promotion": 0,
"manual-discount": 0,
"client-discount": 0,
"client-comission": 0,
"charges": {
"charge": [
{
"@type": "CHANNEL_CHARGE",
"value 1.5": 0
}
]
},
"delivery-costs": 0,
"insurance": 0,
"taxes": {
"tax": [
{
"@id": 10,
"value": 0
}
]
},
"final-price": 20
},
"payments": {
"payment": [
{
"id": 123,
"type": "CASH",
"value": 0,
"externalReference": "",
"isAdvance": false,
"lastCreditCardDigits": "",
"creditCardType": "MASTERCARD",
"paymentDate": "2015-09-01T12:00:00+01:00",
"transferDate": "2015-09-01T12:00:00+01:00"
}
]
},
"toBePaid": 10.99,
"pending": 0,
"channel": {
"@id": 123,
"name": "",
"type": "PORTAL",
"subType": "WEB"
},
"orderDate": "2015-09-01T12:00:00+01:00",
"additionalChannelCommissions": 0,
"visitorGroup": [
{
"@id": 123,
"name": "",
"numAttendants": 0,
"numAccompanists": 0,
"attribute-values": [
{
"attribute-info": {
"id": 0,
"name": "",
"selection": "SINGLE",
"domain-value-info": [
{
"idValue": 10,
"value": "oneboxtm",
"referenceCode": "OB"
}
],
"domain": "EVENT",
"valueType": "DOMAIN_VALUE",
"referenceCode": "Attr"
},
"attribute-value": [
{
"user-input-value": {},
"domain-value": {
"value": "``",
"idValue": 30
}
}
],
"idAttribute": 50,
"description": "DESCRIPTION"
}
]
}
],
"notes": "A note",
"invoiceData": {
"name": "",
"fiscalCode": "",
"fiscalCodeValidated": true,
"address": "",
"postalCode": "",
"city": "",
"$": "2015-09-01T12:00:00+01:00",
"language": "",
"notes": ""
},
"platformClient": {
"id": 123,
"name": "",
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
},
"clientB2B": {
"businessName": "",
"description": "",
"iataCode": "",
"taxId": "",
"tags": "",
"clientB2BBranch": {
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
},
"contactName": "",
"contactEmail": "",
"contactPhone": "",
"@main": false
},
"user": {
"@id": 123,
"name": "",
"email": "",
"username": ""
},
"@category": 0
},
"type": "B2B"
},
"@currency": "EUR",
"@orderCode": "01000000000A",
"@status": "PAID",
"@type": "PURCHASE"
}Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"client": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique customer identifier."
},
"name": {
"type": "string"
},
"lastname": {
"type": "string"
},
"$": {
"type": "string"
},
"email": {
"type": "string"
},
"receiptMail": {
"type": "string"
},
"ticketMail": {
"type": "string"
},
"phone": {
"type": "string"
},
"identification": {
"type": "object",
"properties": {
"value": {
"type": "string"
},
"@type": {
"type": "string"
}
},
"required": [
"value",
"@type"
]
},
"gender": {
"type": "string",
"enum": [
"NOT_DEFINED",
"MALE",
"FEMALE"
]
},
"location": {
"type": "object",
"properties": {
"address": {
"type": "string",
"description": "Venue address where the event will be performed."
},
"city": {
"type": "string",
"description": "City where the event will be performed."
},
"postalCode": {
"type": "string",
"description": "Postal code or zip code where the event will be performed."
},
"countrySubdivision": {
"type": "object",
"properties": {
"@code": {
"type": "string",
"description": "Item unique identifier."
},
"$": {
"type": "string",
"description": "Item value string."
}
},
"required": [
"@code",
"$"
],
"description": "`Country subdivision, this shall be the province, state or county. Ie: ES-T - Tarragona.`"
},
"country": {
"type": "object",
"properties": {
"@code": {
"type": "string",
"description": "Item unique identifier."
},
"$": {
"type": "string",
"description": "Item value string."
}
},
"required": [
"@code",
"$"
],
"description": "`Ie: ES - Spain.`"
},
"coordinates": {
"type": "string"
}
},
"required": [
"address",
"city",
"postalCode",
"countrySubdivision",
"country"
]
},
"idCard": {
"type": "string"
},
"docType": {
"type": "number"
},
"profile-data": {
"type": "object",
"properties": {
"@`profile-id`": {
"type": "number",
"description": "Unique profile data identifier."
},
"profile-field": {
"type": "array"
}
},
"required": [
"@`profile-id`"
]
},
"language": {
"type": "object",
"properties": {
"value": {
"type": "string"
},
"@code": {
"type": "string"
}
},
"required": [
"value",
"@code"
]
},
"groupValidation": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@idGroup": {
"type": "number",
"description": "Unique group validation identifier."
},
"user": {
"type": "string"
},
"promotionalCode": {
"type": "string"
},
"externalProperties": {
"type": "object",
"properties": {
"externalId": {
"type": "string"
}
}
}
},
"required": [
"@idGroup",
"user",
"promotionalCode"
]
}
},
"allowCommercialMailing": {
"type": "boolean"
}
},
"required": [
"@id",
"name",
"lastname",
"$",
"gender",
"location"
]
},
"operationsOrderAllowed": {
"type": "object",
"properties": {
"printInvoice": {
"type": "boolean"
}
},
"required": [
"printInvoice"
]
},
"order-item": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique order item identifier."
},
"@type": {
"type": "string",
"enum": [
"TICKET",
"PRODUCT"
]
},
"ticket-data": {
"type": "object",
"properties": {
"notNumberedAreaName": {
"type": "string"
},
"numSeat": {
"type": "string"
},
"rowName": {
"type": "string"
},
"sectorName": {
"type": "string"
},
"printouts": {
"type": "number"
},
"cancellations": {
"type": "number"
},
"barcode": {
"type": "string"
},
"status": {
"type": "string",
"enum": [
"PURCHASED",
"REFUND",
"PREORDER",
"CONFIRMED",
"INVITATION"
]
},
"accessibility": {
"type": "string",
"enum": [
"NORMAL",
"DISABILITY"
]
},
"visibility": {
"type": "string",
"enum": [
"NORMAL",
"REDUCED",
"NULL"
]
},
"customer": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique customer identifier."
},
"name": {
"type": "string"
},
"lastname": {
"type": "string"
},
"$": {
"type": "string"
},
"email": {
"type": "string"
},
"receiptMail": {
"type": "string"
},
"ticketMail": {
"type": "string"
},
"phone": {
"type": "string"
},
"identification": {
"type": "object",
"properties": {
"value": {
"type": "string"
},
"@type": {
"type": "string"
}
},
"required": [
"value",
"@type"
]
},
"gender": {
"type": "string",
"enum": [
"NOT_DEFINED",
"MALE",
"FEMALE"
]
},
"location": {
"type": "object",
"properties": {
"address": {
"type": "string",
"description": "Venue address where the event will be performed."
},
"city": {
"type": "string",
"description": "City where the event will be performed."
},
"postalCode": {
"type": "string",
"description": "Postal code or zip code where the event will be performed."
},
"countrySubdivision": {
"type": "object",
"properties": {
"@code": {
"type": "string",
"description": "Item unique identifier."
},
"$": {
"type": "string",
"description": "Item value string."
}
},
"required": [
"@code",
"$"
],
"description": "`Country subdivision, this shall be the province, state or county. Ie: ES-T - Tarragona.`"
},
"country": {
"type": "object",
"properties": {
"@code": {
"type": "string",
"description": "Item unique identifier."
},
"$": {
"type": "string",
"description": "Item value string."
}
},
"required": [
"@code",
"$"
],
"description": "`Ie: ES - Spain.`"
},
"coordinates": {
"type": "string"
}
},
"required": [
"address",
"city",
"postalCode",
"countrySubdivision",
"country"
]
},
"idCard": {
"type": "string"
},
"docType": {
"type": "number"
},
"profile-data": {
"type": "object",
"properties": {
"@`profile-id`": {
"type": "number",
"description": "Unique profile data identifier."
},
"profile-field": {
"type": "array"
}
},
"required": [
"@`profile-id`"
]
},
"language": {
"type": "object",
"properties": {
"value": {
"type": "string"
},
"@code": {
"type": "string"
}
},
"required": [
"value",
"@code"
]
},
"groupValidation": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@idGroup": {
"type": "number",
"description": "Unique group validation identifier."
},
"user": {
"type": "string"
},
"promotionalCode": {
"type": "string"
},
"externalProperties": {
"type": "object",
"properties": {
"externalId": {
"type": "string"
}
}
}
},
"required": [
"@idGroup",
"user",
"promotionalCode"
]
}
},
"allowCommercialMailing": {
"type": "boolean"
}
},
"required": [
"@id",
"name",
"lastname",
"$",
"gender",
"location"
]
},
"session-basic-info": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "`Onebox session/performance unique identifier.`"
},
"internalName": {
"type": "string",
"description": "Product internal description name."
},
"name": {
"type": "string",
"description": "Public product name depending on the language requestd."
},
"description": {
"type": "string",
"description": "Session description"
},
"dates": {
"type": "object",
"properties": {
"datetime": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"enum": [
"EVENT_BEGIN",
"EVENT_END",
"SESSION_BEGIN",
"SESSION_END",
"SESSION_SALES_BEGIN",
"SESSION_SALES_END",
"PRODUCT_SALES",
"PRODUCT_SALES_END",
"SESSION_PUBLISHED",
"PROMOTION_BEGIN",
"PROMOTION_END",
"SEASON_TICKET_HOLDER_BEGIN",
"SEASON_TICKET_HOLDER_END"
],
"description": "Define the date meaning possibilites."
},
"@pendingConfirmation": {
"type": "boolean",
"description": "Says whether the date is finally commited or not."
},
"@timeZoneId": {
"type": "string",
"description": "Define the time zone worldwide from UTC."
},
"$": {
"type": "string",
"description": "XmlGregorianCalendar representation of the given date."
}
}
}
}
}
},
"venue": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Onebox internal venue unique identifier."
},
"@name": {
"type": "string",
"description": "Public venue name."
},
"@timeZone": {
"type": "string",
"description": "Define the time zone worldwide from UTC."
},
"communication-elements": {
"type": "object",
"properties": {
"@language": {
"type": "string",
"description": "Indicates the language of the communitacion event details."
},
"images": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`Image categorization, ie: LOGO_WEB, IMG_BANNER_WEB, IMG_BODY_WEB.`"
},
"@order": {
"type": "number",
"description": "Indicates just the order/priority in case of same type. This number is unique."
},
"$": {
"type": "string",
"description": "Absolute path to the image file."
}
},
"required": [
"@type",
"@order",
"$"
]
},
"description": "List of related images as banners, logo's, backgrounds..."
},
"videos": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`Video categorization.`"
},
"$": {
"type": "string",
"description": "Absolute path to the video file."
}
},
"required": [
"@type",
"$"
]
},
"description": "List of related images as banners, logo's, backgrounds..."
},
"files": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`File categorization.`"
},
"$": {
"type": "string",
"description": "Absolute path to the file."
}
},
"required": [
"@type",
"$"
]
},
"description": "List of related images as banners, logo's, backgrounds..."
},
"banners": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`Banner categorization, ie: CHANNEL_PURCHASE_HEADER_BANNER, CHANNEL_PURCHASE_BANNER, PROMOTER_PURCHASE_BANNER`"
},
"imageUrl": {
"type": "string",
"description": "Absolute path to the banner image file."
},
"linkUrl": {
"type": "string",
"description": "Direct link to the promotional site just in case."
}
},
"required": [
"@type",
"imageUrl"
]
},
"description": "List of related banners to put into a website, pdf, ticket..."
}
},
"required": [
"@language"
]
},
"location": {
"type": "object",
"properties": {
"address": {
"type": "string",
"description": "Venue address where the event will be performed."
},
"city": {
"type": "string",
"description": "City where the event will be performed."
},
"postalCode": {
"type": "string",
"description": "Postal code or zip code where the event will be performed."
},
"countrySubdivision": {
"type": "object",
"properties": {
"@code": {
"type": "string",
"description": "Item unique identifier."
},
"$": {
"type": "string",
"description": "Item value string."
}
},
"required": [
"@code",
"$"
],
"description": "`Country subdivision, this shall be the province, state or county. Ie: ES-T - Tarragona.`"
},
"country": {
"type": "object",
"properties": {
"@code": {
"type": "string",
"description": "Item unique identifier."
},
"$": {
"type": "string",
"description": "Item value string."
}
},
"required": [
"@code",
"$"
],
"description": "`Ie: ES - Spain.`"
},
"coordinates": {
"type": "string"
}
},
"required": [
"address",
"city",
"postalCode",
"countrySubdivision",
"country"
]
}
},
"required": [
"@id",
"@name"
]
},
"space": {
"type": "object",
"properties": {
"id": {
"type": "number",
"description": "Unique space identifier."
},
"name": {
"type": "string",
"description": "Space name."
}
}
},
"event-basic-info": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique identifier for each event/activity product."
},
"internalName": {
"type": "string",
"description": "Product internal description name."
},
"externalReferenceCode": {
"type": "string",
"description": "In case of product from 3rd party suppliers, those came with its own reference."
},
"title": {
"type": "string",
"description": "Event main title"
},
"subtitle": {
"type": "string",
"description": "Event secondary title"
},
"shortDescription": {
"type": "string",
"description": "Event short description"
},
"longDescription": {
"type": "string",
"description": "Event detailed description"
},
"additionalEventData": {
"type": "string"
},
"duration": {
"type": "string"
},
"communication-elements": {
"type": "object",
"properties": {
"@language": {
"type": "string",
"description": "Indicates the language of the communitacion event details."
},
"images": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`Image categorization, ie: LOGO_WEB, IMG_BANNER_WEB, IMG_BODY_WEB.`"
},
"@order": {
"type": "number",
"description": "Indicates just the order/priority in case of same type. This number is unique."
},
"$": {
"type": "string",
"description": "Absolute path to the image file."
}
},
"required": [
"@type",
"@order",
"$"
]
},
"description": "List of related images as banners, logo's, backgrounds..."
},
"videos": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`Video categorization.`"
},
"$": {
"type": "string",
"description": "Absolute path to the video file."
}
},
"required": [
"@type",
"$"
]
},
"description": "List of related images as banners, logo's, backgrounds..."
},
"files": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`File categorization.`"
},
"$": {
"type": "string",
"description": "Absolute path to the file."
}
},
"required": [
"@type",
"$"
]
},
"description": "List of related images as banners, logo's, backgrounds..."
},
"banners": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`Banner categorization, ie: CHANNEL_PURCHASE_HEADER_BANNER, CHANNEL_PURCHASE_BANNER, PROMOTER_PURCHASE_BANNER`"
},
"imageUrl": {
"type": "string",
"description": "Absolute path to the banner image file."
},
"linkUrl": {
"type": "string",
"description": "Direct link to the promotional site just in case."
}
},
"required": [
"@type",
"imageUrl"
]
},
"description": "List of related banners to put into a website, pdf, ticket..."
}
},
"required": [
"@language"
]
},
"taxonomy": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique identifier of this product segmentation."
},
"code": {
"type": "string",
"description": "Unique identifier fo this product segmentation to be used in th API."
},
"description": {
"type": "string",
"description": "Short description to better understand the taxonomy segmentation."
},
"superior-taxonomy": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique identifier of this product segmentation."
},
"code": {
"type": "string",
"description": "Unique identifier fo this product segmentation to be used in th API."
},
"description": {
"type": "string",
"description": "Short description to better understand the taxonomy segmentation."
}
},
"required": [
"@id",
"code"
]
}
},
"required": [
"@id",
"code"
]
},
"custom-taxonomy": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique identifier of this product segmentation."
},
"code": {
"type": "string",
"description": "Unique identifier fo this product segmentation to be used in th API."
},
"description": {
"type": "string",
"description": "Short description to better understand the taxonomy segmentation."
}
},
"required": [
"@id",
"code"
]
},
"promoter-custom-taxonomy": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique identifier of this product segmentation."
},
"code": {
"type": "string",
"description": "Unique identifier fo this product segmentation to be used in th API."
},
"description": {
"type": "string",
"description": "Short description to better understand the taxonomy segmentation."
}
},
"required": [
"@id",
"code"
]
},
"languages": {
"type": "object",
"properties": {
"language": {
"type": "array",
"items": [
{},
{
"type": "string",
"enum": [
"ca_ES",
"es_ES",
"en_US",
"fr_FR",
"it_IT",
"de_DE"
]
}
],
"description": "`List of the available languages for the event descriptions.`"
}
}
},
"dates": {
"type": "object",
"properties": {
"datetime": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"enum": [
"EVENT_BEGIN",
"EVENT_END",
"SESSION_BEGIN",
"SESSION_END",
"SESSION_SALES_BEGIN",
"SESSION_SALES_END",
"PRODUCT_SALES",
"PRODUCT_SALES_END",
"SESSION_PUBLISHED",
"PROMOTION_BEGIN",
"PROMOTION_END",
"SEASON_TICKET_HOLDER_BEGIN",
"SEASON_TICKET_HOLDER_END"
],
"description": "Define the date meaning possibilites."
},
"@pendingConfirmation": {
"type": "boolean",
"description": "Says whether the date is finally commited or not."
},
"@timeZoneId": {
"type": "string",
"description": "Define the time zone worldwide from UTC."
},
"$": {
"type": "string",
"description": "XmlGregorianCalendar representation of the given date."
}
}
}
}
}
},
"entidad": {
"type": "object",
"properties": {
"@id": {
"type": "number"
},
"name": {
"type": "string",
"description": "Promotor/Organizer company name."
},
"nif": {
"type": "string",
"description": "Tax/Vat unique identifier number."
},
"email": {
"type": "string"
},
"phoneNumber": {
"type": "string"
},
"timeZone": {
"type": "string"
},
"location": {
"type": "object",
"properties": {
"address": {
"type": "string",
"description": "Venue address where the event will be performed."
},
"city": {
"type": "string",
"description": "City where the event will be performed."
},
"postalCode": {
"type": "string",
"description": "Postal code or zip code where the event will be performed."
},
"countrySubdivision": {
"type": "object",
"properties": {
"@code": {
"type": "string",
"description": "Item unique identifier."
},
"$": {
"type": "string",
"description": "Item value string."
}
},
"required": [
"@code",
"$"
],
"description": "`Country subdivision, this shall be the province, state or county. Ie: ES-T - Tarragona.`"
},
"country": {
"type": "object",
"properties": {
"@code": {
"type": "string",
"description": "Item unique identifier."
},
"$": {
"type": "string",
"description": "Item value string."
}
},
"required": [
"@code",
"$"
],
"description": "`Ie: ES - Spain.`"
},
"coordinates": {
"type": "string"
}
},
"required": [
"address",
"city",
"postalCode",
"countrySubdivision",
"country"
]
}
},
"required": [
"@id",
"name",
"nif",
"email",
"phoneNumber",
"timeZone"
]
},
"promotor": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Onebox internal unique identifier."
},
"corporateName": {
"type": "string"
},
"fiscalCode": {
"type": "string",
"description": "Tax/Vat unique identifier number."
},
"email": {
"type": "string"
},
"phoneNumber": {
"type": "string"
},
"location": {
"type": "object",
"properties": {
"address": {
"type": "string",
"description": "Venue address where the event will be performed."
},
"city": {
"type": "string",
"description": "City where the event will be performed."
},
"postalCode": {
"type": "string",
"description": "Postal code or zip code where the event will be performed."
},
"countrySubdivision": {
"type": "object",
"properties": {
"@code": {
"type": "string",
"description": "Item unique identifier."
},
"$": {
"type": "string",
"description": "Item value string."
}
},
"required": [
"@code",
"$"
],
"description": "`Country subdivision, this shall be the province, state or county. Ie: ES-T - Tarragona.`"
},
"country": {
"type": "object",
"properties": {
"@code": {
"type": "string",
"description": "Item unique identifier."
},
"$": {
"type": "string",
"description": "Item value string."
}
},
"required": [
"@code",
"$"
],
"description": "`Ie: ES - Spain.`"
},
"coordinates": {
"type": "string"
}
},
"required": [
"address",
"city",
"postalCode",
"countrySubdivision",
"country"
]
}
},
"required": [
"@id",
"corporateName",
"fiscalCode",
"email",
"phoneNumber"
]
},
"tour": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Onebox internal unique identifier."
},
"name": {
"type": "string",
"description": "Tour name."
},
"promotorReference": {
"type": "string",
"description": "Promotor reference."
}
},
"required": [
"@id",
"name",
"promotorReference"
]
},
"severalVenues": {
"type": "boolean",
"description": "Is the event performed in different venues?"
},
"severalLocations": {
"type": "boolean",
"description": "Is the event perfomed in different locations?"
},
"supraEvent": {
"type": "boolean",
"description": "Is the event a sibling from another parent event?"
},
"giftTicket": {
"type": "boolean",
"description": "Has this event free entrance tickets allowed?"
},
"nominal": {
"type": "boolean",
"description": "Has the ticket to indicate the owner name / surname / id details?"
},
"eventType": {
"type": "string",
"enum": [
"EVENT",
"ACTIVITY"
]
},
"attribute-values": {
"type": "array",
"items": {
"type": "object",
"properties": {
"attribute-info": {
"type": "object",
"properties": {
"id": {
"type": "number",
"description": "Unique identifier."
},
"name": {
"type": "string"
},
"selection": {
"type": "string",
"enum": [
"SINGLE",
"MULTIPLE"
]
},
"domain-value-info": {
"type": "array",
"items": {
"type": "object",
"properties": {
"idValue": {
"type": "number",
"description": "Unique identifier."
},
"value": {
"type": "string"
},
"referenceCode": {
"type": "string"
}
},
"required": [
"idValue",
"value",
"referenceCode"
]
}
},
"domain": {
"type": "string",
"enum": [
"EVENT",
"SESSION",
"GROUP",
"PROFILE"
]
},
"valueType": {
"type": "string",
"enum": [
"USER_INPUT_INTEGER",
"USER_INPUT_STRING",
"DOMAIN_VALUE"
]
},
"referenceCode": {
"type": "string"
}
},
"required": [
"id",
"name",
"selection",
"domain-value-info",
"domain",
"valueType",
"referenceCode"
]
},
"attribute-value": {
"type": "array",
"items": {
"type": "object",
"properties": {
"user-input-value": {
"type": "object",
"properties": {},
"description": "Unique identifier."
},
"domain-value": {
"type": "object",
"properties": {
"value": {
"type": "string"
},
"idValue": {
"type": "number"
}
},
"required": [
"value"
],
"description": "Unique identifier."
}
}
}
},
"idAttribute": {
"type": "number"
},
"description": {
"type": "string"
}
},
"required": [
"attribute-info",
"attribute-value"
]
}
},
"passbookPreferences": {
"type": [
"object",
"null"
],
"properties": {
"communication-elements": {
"type": "object",
"properties": {
"@language": {
"type": "string",
"description": "Indicates the language of the communitacion event details."
},
"images": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`Image categorization, ie: LOGO_WEB, IMG_BANNER_WEB, IMG_BODY_WEB.`"
},
"@order": {
"type": "number",
"description": "Indicates just the order/priority in case of same type. This number is unique."
},
"$": {
"type": "string",
"description": "Absolute path to the image file."
}
},
"required": [
"@type",
"@order",
"$"
]
},
"description": "List of related images as banners, logo's, backgrounds..."
},
"videos": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`Video categorization.`"
},
"$": {
"type": "string",
"description": "Absolute path to the video file."
}
},
"required": [
"@type",
"$"
]
},
"description": "List of related images as banners, logo's, backgrounds..."
},
"files": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`File categorization.`"
},
"$": {
"type": "string",
"description": "Absolute path to the file."
}
},
"required": [
"@type",
"$"
]
},
"description": "List of related images as banners, logo's, backgrounds..."
},
"banners": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`Banner categorization, ie: CHANNEL_PURCHASE_HEADER_BANNER, CHANNEL_PURCHASE_BANNER, PROMOTER_PURCHASE_BANNER`"
},
"imageUrl": {
"type": "string",
"description": "Absolute path to the banner image file."
},
"linkUrl": {
"type": "string",
"description": "Direct link to the promotional site just in case."
}
},
"required": [
"@type",
"imageUrl"
]
},
"description": "List of related banners to put into a website, pdf, ticket..."
}
},
"required": [
"@language"
]
},
"textColor": {
"type": "string"
},
"labelColor": {
"type": "string"
},
"backgroundColor": {
"type": "string"
}
}
},
"clientEventDiscount": {
"type": "object",
"properties": {
"discountType": {
"type": "string",
"enum": [
"AMOUNT",
"PERCENT"
]
},
"discount": {
"type": "number"
}
},
"required": [
"discountType"
]
}
},
"required": [
"@id",
"internalName",
"externalReferenceCode",
"title",
"subtitle",
"shortDescription",
"longDescription",
"additionalEventData",
"duration",
"severalVenues",
"severalLocations",
"supraEvent",
"giftTicket",
"nominal",
"eventType",
"passbookPreferences"
]
},
"forSale": {
"type": "boolean",
"description": "Indicates the event is whether on sale or not."
},
"blockingReasons": {
"type": "string"
},
"hasProducts": {
"type": "boolean",
"description": "For Onebox box office purposes only."
},
"admission": {
"type": "string",
"enum": [
"ALL_AGES_ADMITTED",
"NOT_ADMITTED_UNDER_4",
"NOT_ADMITTED_UNDER_7",
"NOT_ADMITTED_UNDER_8",
"NOT_ADMITTED_UNDER_12",
"NOT_ADMITTED_UNDER_13",
"NOT_ADMITTED_UNDER_14",
"NOT_ADMITTED_UNDER_16",
"NOT_ADMITTED_UNDER_18",
"NOT_ADMITTED_UNDER_21"
],
"description": "Filter the age range to be admitted as an attendant."
},
"supportedEventType": {
"type": "string",
"enum": [
"EVENT",
"ACTIVITY"
]
},
"supportedVisitorType": {
"type": "string",
"enum": [
"INDIVIDUAL",
"GROUP",
"MIXED"
]
},
"attribute-values": {
"type": "array",
"items": {
"type": "object",
"properties": {
"attribute-info": {
"type": "object",
"properties": {
"id": {
"type": "number",
"description": "Unique identifier."
},
"name": {
"type": "string"
},
"selection": {
"type": "string",
"enum": [
"SINGLE",
"MULTIPLE"
]
},
"domain-value-info": {
"type": "array",
"items": {
"type": "object",
"properties": {
"idValue": {
"type": "number",
"description": "Unique identifier."
},
"value": {
"type": "string"
},
"referenceCode": {
"type": "string"
}
},
"required": [
"idValue",
"value",
"referenceCode"
]
}
},
"domain": {
"type": "string",
"enum": [
"EVENT",
"SESSION",
"GROUP",
"PROFILE"
]
},
"valueType": {
"type": "string",
"enum": [
"USER_INPUT_INTEGER",
"USER_INPUT_STRING",
"DOMAIN_VALUE"
]
},
"referenceCode": {
"type": "string"
}
},
"required": [
"id",
"name",
"selection",
"domain-value-info",
"domain",
"valueType",
"referenceCode"
]
},
"attribute-value": {
"type": "array",
"items": {
"type": "object",
"properties": {
"user-input-value": {
"type": "object",
"properties": {},
"description": "Unique identifier."
},
"domain-value": {
"type": "object",
"properties": {
"value": {
"type": "string"
},
"idValue": {
"type": "number"
}
},
"required": [
"value"
],
"description": "Unique identifier."
}
}
}
},
"idAttribute": {
"type": "number"
},
"description": {
"type": "string"
}
},
"required": [
"attribute-info",
"attribute-value"
]
}
},
"visitorGroupConfig": {
"type": "string"
},
"hideSessionDates": {
"type": "boolean",
"description": "For Onebox box office purposes only."
},
"showDate": {
"type": "boolean",
"description": "For Onebox box office purposes only."
},
"showDatetime": {
"type": "boolean",
"description": "For Onebox box office purposes only."
},
"@rates": {
"type": "string",
"description": "Rate description identifier."
},
"season-session-info": {
"type": "object",
"properties": {
"beginDate": {
"type": "string"
},
"endDate": {
"type": "string"
},
"idsSeasonSessions": {
"type": "array"
},
"seasonSessions": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "`Onebox session/performance unique identifier.`"
},
"internalName": {
"type": "string",
"description": "Product internal description name."
},
"name": {
"type": "string",
"description": "Public product name depending on the language requestd."
},
"description": {
"type": "string",
"description": "Session description"
},
"dates": {
"type": "object",
"properties": {
"datetime": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"enum": [
"EVENT_BEGIN",
"EVENT_END",
"SESSION_BEGIN",
"SESSION_END",
"SESSION_SALES_BEGIN",
"SESSION_SALES_END",
"PRODUCT_SALES",
"PRODUCT_SALES_END",
"SESSION_PUBLISHED",
"PROMOTION_BEGIN",
"PROMOTION_END",
"SEASON_TICKET_HOLDER_BEGIN",
"SEASON_TICKET_HOLDER_END"
],
"description": "Define the date meaning possibilites."
},
"@pendingConfirmation": {
"type": "boolean",
"description": "Says whether the date is finally commited or not."
},
"@timeZoneId": {
"type": "string",
"description": "Define the time zone worldwide from UTC."
},
"$": {
"type": "string",
"description": "XmlGregorianCalendar representation of the given date."
}
}
}
}
}
},
"venue": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Onebox internal venue unique identifier."
},
"@name": {
"type": "string",
"description": "Public venue name."
},
"@timeZone": {
"type": "string",
"description": "Define the time zone worldwide from UTC."
},
"communication-elements": {
"type": "object",
"properties": {
"@language": {
"type": "string",
"description": "Indicates the language of the communitacion event details."
},
"images": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`Image categorization, ie: LOGO_WEB, IMG_BANNER_WEB, IMG_BODY_WEB.`"
},
"@order": {
"type": "number",
"description": "Indicates just the order/priority in case of same type. This number is unique."
},
"$": {
"type": "string",
"description": "Absolute path to the image file."
}
},
"required": [
"@type",
"@order",
"$"
]
},
"description": "List of related images as banners, logo's, backgrounds..."
},
"videos": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`Video categorization.`"
},
"$": {
"type": "string",
"description": "Absolute path to the video file."
}
},
"required": [
"@type",
"$"
]
},
"description": "List of related images as banners, logo's, backgrounds..."
},
"files": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`File categorization.`"
},
"$": {
"type": "string",
"description": "Absolute path to the file."
}
},
"required": [
"@type",
"$"
]
},
"description": "List of related images as banners, logo's, backgrounds..."
},
"banners": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`Banner categorization, ie: CHANNEL_PURCHASE_HEADER_BANNER, CHANNEL_PURCHASE_BANNER, PROMOTER_PURCHASE_BANNER`"
},
"imageUrl": {
"type": "string",
"description": "Absolute path to the banner image file."
},
"linkUrl": {
"type": "string",
"description": "Direct link to the promotional site just in case."
}
},
"required": [
"@type",
"imageUrl"
]
},
"description": "List of related banners to put into a website, pdf, ticket..."
}
},
"required": [
"@language"
]
},
"location": {
"type": "object",
"properties": {
"address": {
"type": "string",
"description": "Venue address where the event will be performed."
},
"city": {
"type": "string",
"description": "City where the event will be performed."
},
"postalCode": {
"type": "string",
"description": "Postal code or zip code where the event will be performed."
},
"countrySubdivision": {
"type": "object",
"properties": {
"@code": {
"type": "string",
"description": "Item unique identifier."
},
"$": {
"type": "string",
"description": "Item value string."
}
},
"required": [
"@code",
"$"
],
"description": "`Country subdivision, this shall be the province, state or county. Ie: ES-T - Tarragona.`"
},
"country": {
"type": "object",
"properties": {
"@code": {
"type": "string",
"description": "Item unique identifier."
},
"$": {
"type": "string",
"description": "Item value string."
}
},
"required": [
"@code",
"$"
],
"description": "`Ie: ES - Spain.`"
},
"coordinates": {
"type": "string"
}
},
"required": [
"address",
"city",
"postalCode",
"countrySubdivision",
"country"
]
}
},
"required": [
"@id",
"@name"
]
},
"space": {
"type": "object",
"properties": {
"id": {
"type": "number",
"description": "Unique space identifier."
},
"name": {
"type": "string",
"description": "Space name."
}
}
},
"event-basic-info": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique identifier for each event/activity product."
},
"internalName": {
"type": "string",
"description": "Product internal description name."
},
"externalReferenceCode": {
"type": "string",
"description": "In case of product from 3rd party suppliers, those came with its own reference."
},
"title": {
"type": "string",
"description": "Event main title"
},
"subtitle": {
"type": "string",
"description": "Event secondary title"
},
"shortDescription": {
"type": "string",
"description": "Event short description"
},
"longDescription": {
"type": "string",
"description": "Event detailed description"
},
"additionalEventData": {
"type": "string"
},
"duration": {
"type": "string"
},
"communication-elements": {
"type": "object",
"properties": {
"@language": {
"type": "string",
"description": "Indicates the language of the communitacion event details."
},
"images": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`Image categorization, ie: LOGO_WEB, IMG_BANNER_WEB, IMG_BODY_WEB.`"
},
"@order": {
"type": "number",
"description": "Indicates just the order/priority in case of same type. This number is unique."
},
"$": {
"type": "string",
"description": "Absolute path to the image file."
}
},
"required": [
"@type",
"@order",
"$"
]
},
"description": "List of related images as banners, logo's, backgrounds..."
},
"videos": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`Video categorization.`"
},
"$": {
"type": "string",
"description": "Absolute path to the video file."
}
},
"required": [
"@type",
"$"
]
},
"description": "List of related images as banners, logo's, backgrounds..."
},
"files": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`File categorization.`"
},
"$": {
"type": "string",
"description": "Absolute path to the file."
}
},
"required": [
"@type",
"$"
]
},
"description": "List of related images as banners, logo's, backgrounds..."
},
"banners": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`Banner categorization, ie: CHANNEL_PURCHASE_HEADER_BANNER, CHANNEL_PURCHASE_BANNER, PROMOTER_PURCHASE_BANNER`"
},
"imageUrl": {
"type": "string",
"description": "Absolute path to the banner image file."
},
"linkUrl": {
"type": "string",
"description": "Direct link to the promotional site just in case."
}
},
"required": [
"@type",
"imageUrl"
]
},
"description": "List of related banners to put into a website, pdf, ticket..."
}
},
"required": [
"@language"
]
},
"taxonomy": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique identifier of this product segmentation."
},
"code": {
"type": "string",
"description": "Unique identifier fo this product segmentation to be used in th API."
},
"description": {
"type": "string",
"description": "Short description to better understand the taxonomy segmentation."
},
"superior-taxonomy": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique identifier of this product segmentation."
},
"code": {
"type": "string",
"description": "Unique identifier fo this product segmentation to be used in th API."
},
"description": {
"type": "string",
"description": "Short description to better understand the taxonomy segmentation."
}
},
"required": [
"@id",
"code"
]
}
},
"required": [
"@id",
"code"
]
},
"custom-taxonomy": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique identifier of this product segmentation."
},
"code": {
"type": "string",
"description": "Unique identifier fo this product segmentation to be used in th API."
},
"description": {
"type": "string",
"description": "Short description to better understand the taxonomy segmentation."
}
},
"required": [
"@id",
"code"
]
},
"promoter-custom-taxonomy": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique identifier of this product segmentation."
},
"code": {
"type": "string",
"description": "Unique identifier fo this product segmentation to be used in th API."
},
"description": {
"type": "string",
"description": "Short description to better understand the taxonomy segmentation."
}
},
"required": [
"@id",
"code"
]
},
"languages": {
"type": "object",
"properties": {
"language": {
"type": "array",
"items": [
{},
{
"type": "string",
"enum": [
"ca_ES",
"es_ES",
"en_US",
"fr_FR",
"it_IT",
"de_DE"
]
}
],
"description": "`List of the available languages for the event descriptions.`"
}
}
},
"dates": {
"type": "object",
"properties": {
"datetime": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"enum": [
"EVENT_BEGIN",
"EVENT_END",
"SESSION_BEGIN",
"SESSION_END",
"SESSION_SALES_BEGIN",
"SESSION_SALES_END",
"PRODUCT_SALES",
"PRODUCT_SALES_END",
"SESSION_PUBLISHED",
"PROMOTION_BEGIN",
"PROMOTION_END",
"SEASON_TICKET_HOLDER_BEGIN",
"SEASON_TICKET_HOLDER_END"
],
"description": "Define the date meaning possibilites."
},
"@pendingConfirmation": {
"type": "boolean",
"description": "Says whether the date is finally commited or not."
},
"@timeZoneId": {
"type": "string",
"description": "Define the time zone worldwide from UTC."
},
"$": {
"type": "string",
"description": "XmlGregorianCalendar representation of the given date."
}
}
}
}
}
},
"entidad": {
"type": "object",
"properties": {
"@id": {
"type": "number"
},
"name": {
"type": "string",
"description": "Promotor/Organizer company name."
},
"nif": {
"type": "string",
"description": "Tax/Vat unique identifier number."
},
"email": {
"type": "string"
},
"phoneNumber": {
"type": "string"
},
"timeZone": {
"type": "string"
},
"location": {
"type": "object",
"properties": {
"address": {
"type": "string",
"description": "Venue address where the event will be performed."
},
"city": {
"type": "string",
"description": "City where the event will be performed."
},
"postalCode": {
"type": "string",
"description": "Postal code or zip code where the event will be performed."
},
"countrySubdivision": {
"type": "object",
"properties": {
"@code": {
"type": "string",
"description": "Item unique identifier."
},
"$": {
"type": "string",
"description": "Item value string."
}
},
"required": [
"@code",
"$"
],
"description": "`Country subdivision, this shall be the province, state or county. Ie: ES-T - Tarragona.`"
},
"country": {
"type": "object",
"properties": {
"@code": {
"type": "string",
"description": "Item unique identifier."
},
"$": {
"type": "string",
"description": "Item value string."
}
},
"required": [
"@code",
"$"
],
"description": "`Ie: ES - Spain.`"
},
"coordinates": {
"type": "string"
}
},
"required": [
"address",
"city",
"postalCode",
"countrySubdivision",
"country"
]
}
},
"required": [
"@id",
"name",
"nif",
"email",
"phoneNumber",
"timeZone"
]
},
"promotor": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Onebox internal unique identifier."
},
"corporateName": {
"type": "string"
},
"fiscalCode": {
"type": "string",
"description": "Tax/Vat unique identifier number."
},
"email": {
"type": "string"
},
"phoneNumber": {
"type": "string"
},
"location": {
"type": "object",
"properties": {
"address": {
"type": "string",
"description": "Venue address where the event will be performed."
},
"city": {
"type": "string",
"description": "City where the event will be performed."
},
"postalCode": {
"type": "string",
"description": "Postal code or zip code where the event will be performed."
},
"countrySubdivision": {
"type": "object",
"properties": {
"@code": {
"type": "string",
"description": "Item unique identifier."
},
"$": {
"type": "string",
"description": "Item value string."
}
},
"required": [
"@code",
"$"
],
"description": "`Country subdivision, this shall be the province, state or county. Ie: ES-T - Tarragona.`"
},
"country": {
"type": "object",
"properties": {
"@code": {
"type": "string",
"description": "Item unique identifier."
},
"$": {
"type": "string",
"description": "Item value string."
}
},
"required": [
"@code",
"$"
],
"description": "`Ie: ES - Spain.`"
},
"coordinates": {
"type": "string"
}
},
"required": [
"address",
"city",
"postalCode",
"countrySubdivision",
"country"
]
}
},
"required": [
"@id",
"corporateName",
"fiscalCode",
"email",
"phoneNumber"
]
},
"tour": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Onebox internal unique identifier."
},
"name": {
"type": "string",
"description": "Tour name."
},
"promotorReference": {
"type": "string",
"description": "Promotor reference."
}
},
"required": [
"@id",
"name",
"promotorReference"
]
},
"severalVenues": {
"type": "boolean",
"description": "Is the event performed in different venues?"
},
"severalLocations": {
"type": "boolean",
"description": "Is the event perfomed in different locations?"
},
"supraEvent": {
"type": "boolean",
"description": "Is the event a sibling from another parent event?"
},
"giftTicket": {
"type": "boolean",
"description": "Has this event free entrance tickets allowed?"
},
"nominal": {
"type": "boolean",
"description": "Has the ticket to indicate the owner name / surname / id details?"
},
"eventType": {
"type": "string",
"enum": [
"EVENT",
"ACTIVITY"
]
},
"attribute-values": {
"type": "array",
"items": {
"type": "object",
"properties": {
"attribute-info": {
"type": "object",
"properties": {
"id": {
"type": "number",
"description": "Unique identifier."
},
"name": {
"type": "string"
},
"selection": {
"type": "string",
"enum": [
"SINGLE",
"MULTIPLE"
]
},
"domain-value-info": {
"type": "array",
"items": {
"type": "object",
"properties": {
"idValue": {
"type": "number",
"description": "Unique identifier."
},
"value": {
"type": "string"
},
"referenceCode": {
"type": "string"
}
},
"required": [
"idValue",
"value",
"referenceCode"
]
}
},
"domain": {
"type": "string",
"enum": [
"EVENT",
"SESSION",
"GROUP",
"PROFILE"
]
},
"valueType": {
"type": "string",
"enum": [
"USER_INPUT_INTEGER",
"USER_INPUT_STRING",
"DOMAIN_VALUE"
]
},
"referenceCode": {
"type": "string"
}
},
"required": [
"id",
"name",
"selection",
"domain-value-info",
"domain",
"valueType",
"referenceCode"
]
},
"attribute-value": {
"type": "array",
"items": {
"type": "object",
"properties": {
"user-input-value": {
"type": "object",
"properties": {},
"description": "Unique identifier."
},
"domain-value": {
"type": "object",
"properties": {
"value": {
"type": "string"
},
"idValue": {
"type": "number"
}
},
"required": [
"value"
],
"description": "Unique identifier."
}
}
}
},
"idAttribute": {
"type": "number"
},
"description": {
"type": "string"
}
},
"required": [
"attribute-info",
"attribute-value"
]
}
},
"passbookPreferences": {
"type": [
"object",
"null"
],
"properties": {
"communication-elements": {
"type": "object",
"properties": {
"@language": {
"type": "string",
"description": "Indicates the language of the communitacion event details."
},
"images": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`Image categorization, ie: LOGO_WEB, IMG_BANNER_WEB, IMG_BODY_WEB.`"
},
"@order": {
"type": "number",
"description": "Indicates just the order/priority in case of same type. This number is unique."
},
"$": {
"type": "string",
"description": "Absolute path to the image file."
}
},
"required": [
"@type",
"@order",
"$"
]
},
"description": "List of related images as banners, logo's, backgrounds..."
},
"videos": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`Video categorization.`"
},
"$": {
"type": "string",
"description": "Absolute path to the video file."
}
},
"required": [
"@type",
"$"
]
},
"description": "List of related images as banners, logo's, backgrounds..."
},
"files": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`File categorization.`"
},
"$": {
"type": "string",
"description": "Absolute path to the file."
}
},
"required": [
"@type",
"$"
]
},
"description": "List of related images as banners, logo's, backgrounds..."
},
"banners": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`Banner categorization, ie: CHANNEL_PURCHASE_HEADER_BANNER, CHANNEL_PURCHASE_BANNER, PROMOTER_PURCHASE_BANNER`"
},
"imageUrl": {
"type": "string",
"description": "Absolute path to the banner image file."
},
"linkUrl": {
"type": "string",
"description": "Direct link to the promotional site just in case."
}
},
"required": [
"@type",
"imageUrl"
]
},
"description": "List of related banners to put into a website, pdf, ticket..."
}
},
"required": [
"@language"
]
},
"textColor": {
"type": "string"
},
"labelColor": {
"type": "string"
},
"backgroundColor": {
"type": "string"
}
}
},
"clientEventDiscount": {
"type": "object",
"properties": {
"discountType": {
"type": "string",
"enum": [
"AMOUNT",
"PERCENT"
]
},
"discount": {
"type": "number"
}
},
"required": [
"discountType"
]
}
},
"required": [
"@id",
"internalName",
"externalReferenceCode",
"title",
"subtitle",
"shortDescription",
"longDescription",
"additionalEventData",
"duration",
"severalVenues",
"severalLocations",
"supraEvent",
"giftTicket",
"nominal",
"eventType",
"passbookPreferences"
]
},
"forSale": {
"type": "boolean",
"description": "Indicates the event is whether on sale or not."
},
"blockingReasons": {
"type": "string"
},
"hasProducts": {
"type": "boolean",
"description": "For Onebox box office purposes only."
},
"admission": {
"type": "string",
"enum": [
"ALL_AGES_ADMITTED",
"NOT_ADMITTED_UNDER_4",
"NOT_ADMITTED_UNDER_7",
"NOT_ADMITTED_UNDER_8",
"NOT_ADMITTED_UNDER_12",
"NOT_ADMITTED_UNDER_13",
"NOT_ADMITTED_UNDER_14",
"NOT_ADMITTED_UNDER_16",
"NOT_ADMITTED_UNDER_18",
"NOT_ADMITTED_UNDER_21"
],
"description": "Filter the age range to be admitted as an attendant."
},
"supportedEventType": {
"type": "string",
"enum": [
"EVENT",
"ACTIVITY"
]
},
"supportedVisitorType": {
"type": "string",
"enum": [
"INDIVIDUAL",
"GROUP",
"MIXED"
]
},
"attribute-values": {
"type": "array",
"items": {
"type": "object",
"properties": {
"attribute-info": {
"type": "object",
"properties": {
"id": {
"type": "number",
"description": "Unique identifier."
},
"name": {
"type": "string"
},
"selection": {
"type": "string",
"enum": [
"SINGLE",
"MULTIPLE"
]
},
"domain-value-info": {
"type": "array",
"items": {
"type": "object",
"properties": {
"idValue": {
"type": "number",
"description": "Unique identifier."
},
"value": {
"type": "string"
},
"referenceCode": {
"type": "string"
}
},
"required": [
"idValue",
"value",
"referenceCode"
]
}
},
"domain": {
"type": "string",
"enum": [
"EVENT",
"SESSION",
"GROUP",
"PROFILE"
]
},
"valueType": {
"type": "string",
"enum": [
"USER_INPUT_INTEGER",
"USER_INPUT_STRING",
"DOMAIN_VALUE"
]
},
"referenceCode": {
"type": "string"
}
},
"required": [
"id",
"name",
"selection",
"domain-value-info",
"domain",
"valueType",
"referenceCode"
]
},
"attribute-value": {
"type": "array",
"items": {
"type": "object",
"properties": {
"user-input-value": {
"type": "object",
"properties": {},
"description": "Unique identifier."
},
"domain-value": {
"type": "object",
"properties": {
"value": {
"type": "string"
},
"idValue": {
"type": "number"
}
},
"required": [
"value"
],
"description": "Unique identifier."
}
}
}
},
"idAttribute": {
"type": "number"
},
"description": {
"type": "string"
}
},
"required": [
"attribute-info",
"attribute-value"
]
}
},
"visitorGroupConfig": {
"type": "string"
},
"hideSessionDates": {
"type": "boolean",
"description": "For Onebox box office purposes only."
},
"showDate": {
"type": "boolean",
"description": "For Onebox box office purposes only."
},
"showDatetime": {
"type": "boolean",
"description": "For Onebox box office purposes only."
},
"@rates": {
"type": "string",
"description": "Rate description identifier."
},
"season-session-info": {
"type": "object",
"properties": {},
"description": "Avoided loop. Object just like your ancestor 'season-session-info'"
}
},
"required": [
"@id",
"internalName",
"name",
"description",
"venue",
"space",
"event-basic-info",
"blockingReasons",
"admission",
"supportedEventType",
"supportedVisitorType",
"hideSessionDates",
"showDate",
"showDatetime",
"@rates",
"season-session-info"
]
},
"@isSeasonSession": {
"type": "number",
"description": "Unique season session identifier."
}
},
"required": [
"seasonSessions",
"@isSeasonSession"
]
}
},
"required": [
"@id",
"internalName",
"name",
"description",
"venue",
"space",
"event-basic-info",
"blockingReasons",
"admission",
"supportedEventType",
"supportedVisitorType",
"hideSessionDates",
"showDate",
"showDatetime",
"@rates",
"season-session-info"
]
},
"automatic-promotion": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique identifier."
},
"promotionComElements": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"description": {
"type": "string"
}
}
}
},
"required": [
"@id"
]
},
"promotion": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique identifier."
},
"activator": {
"type": "string"
},
"promotionComElements": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"description": {
"type": "string"
}
}
}
},
"required": [
"@id"
]
},
"discount": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique identifier."
},
"activator": {
"type": "string"
},
"promotionComElements": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"description": {
"type": "string"
}
}
}
},
"required": [
"@id"
]
},
"viewId": {
"type": "number"
},
"notNumberedAreaId": {
"type": "number"
},
"sectorId": {
"type": "number"
},
"priceZoneId": {
"type": "number"
},
"access": {
"type": "string"
},
"idTicketActivityType": {
"type": "number"
},
"nameTicketActivityType": {
"type": "string"
},
"externalData": {
"type": "object",
"properties": {
"access": {
"type": "string"
},
"gate": {
"type": "string"
},
"entrance": {
"type": "string"
},
"zone": {
"type": "string"
}
}
},
"idVisitorGroup": {
"type": "number"
},
"visitorGroupNumAttendantsVariation": {
"type": "number"
},
"visitorGroupNumAccompanistsVariation": {
"type": "number"
},
"@seatType": {
"type": "string",
"enum": [
"NUMBERED",
"NOT_NUMBERED"
]
},
"@ticketType": {
"type": "string",
"enum": [
"GENERAL",
"INVITATION"
]
}
},
"required": [
"session-basic-info",
"@seatType",
"@ticketType"
]
},
"product-data": {
"type": "object",
"properties": {
"venue": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Onebox internal venue unique identifier."
},
"@name": {
"type": "string",
"description": "Public venue name."
},
"@timeZone": {
"type": "string",
"description": "Define the time zone worldwide from UTC."
},
"communication-elements": {
"type": "object",
"properties": {
"@language": {
"type": "string",
"description": "Indicates the language of the communitacion event details."
},
"images": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`Image categorization, ie: LOGO_WEB, IMG_BANNER_WEB, IMG_BODY_WEB.`"
},
"@order": {
"type": "number",
"description": "Indicates just the order/priority in case of same type. This number is unique."
},
"$": {
"type": "string",
"description": "Absolute path to the image file."
}
},
"required": [
"@type",
"@order",
"$"
]
},
"description": "List of related images as banners, logo's, backgrounds..."
},
"videos": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`Video categorization.`"
},
"$": {
"type": "string",
"description": "Absolute path to the video file."
}
},
"required": [
"@type",
"$"
]
},
"description": "List of related images as banners, logo's, backgrounds..."
},
"files": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`File categorization.`"
},
"$": {
"type": "string",
"description": "Absolute path to the file."
}
},
"required": [
"@type",
"$"
]
},
"description": "List of related images as banners, logo's, backgrounds..."
},
"banners": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`Banner categorization, ie: CHANNEL_PURCHASE_HEADER_BANNER, CHANNEL_PURCHASE_BANNER, PROMOTER_PURCHASE_BANNER`"
},
"imageUrl": {
"type": "string",
"description": "Absolute path to the banner image file."
},
"linkUrl": {
"type": "string",
"description": "Direct link to the promotional site just in case."
}
},
"required": [
"@type",
"imageUrl"
]
},
"description": "List of related banners to put into a website, pdf, ticket..."
}
},
"required": [
"@language"
]
},
"location": {
"type": "object",
"properties": {
"address": {
"type": "string",
"description": "Venue address where the event will be performed."
},
"city": {
"type": "string",
"description": "City where the event will be performed."
},
"postalCode": {
"type": "string",
"description": "Postal code or zip code where the event will be performed."
},
"countrySubdivision": {
"type": "object",
"properties": {
"@code": {
"type": "string",
"description": "Item unique identifier."
},
"$": {
"type": "string",
"description": "Item value string."
}
},
"required": [
"@code",
"$"
],
"description": "`Country subdivision, this shall be the province, state or county. Ie: ES-T - Tarragona.`"
},
"country": {
"type": "object",
"properties": {
"@code": {
"type": "string",
"description": "Item unique identifier."
},
"$": {
"type": "string",
"description": "Item value string."
}
},
"required": [
"@code",
"$"
],
"description": "`Ie: ES - Spain.`"
},
"coordinates": {
"type": "string"
}
},
"required": [
"address",
"city",
"postalCode",
"countrySubdivision",
"country"
]
}
},
"required": [
"@id",
"@name"
]
},
"product-info": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique product identifier."
},
"internalName": {
"type": "string"
},
"name": {
"type": "string"
},
"dates": {
"type": "object",
"properties": {
"datetime": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"enum": [
"EVENT_BEGIN",
"EVENT_END",
"SESSION_BEGIN",
"SESSION_END",
"SESSION_SALES_BEGIN",
"SESSION_SALES_END",
"PRODUCT_SALES",
"PRODUCT_SALES_END",
"SESSION_PUBLISHED",
"PROMOTION_BEGIN",
"PROMOTION_END",
"SEASON_TICKET_HOLDER_BEGIN",
"SEASON_TICKET_HOLDER_END"
],
"description": "Define the date meaning possibilites."
},
"@pendingConfirmation": {
"type": "boolean",
"description": "Says whether the date is finally commited or not."
},
"@timeZoneId": {
"type": "string",
"description": "Define the time zone worldwide from UTC."
},
"$": {
"type": "string",
"description": "XmlGregorianCalendar representation of the given date."
}
}
}
}
}
},
"venue": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Onebox internal venue unique identifier."
},
"@name": {
"type": "string",
"description": "Public venue name."
},
"@timeZone": {
"type": "string",
"description": "Define the time zone worldwide from UTC."
},
"communication-elements": {
"type": "object",
"properties": {
"@language": {
"type": "string",
"description": "Indicates the language of the communitacion event details."
},
"images": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`Image categorization, ie: LOGO_WEB, IMG_BANNER_WEB, IMG_BODY_WEB.`"
},
"@order": {
"type": "number",
"description": "Indicates just the order/priority in case of same type. This number is unique."
},
"$": {
"type": "string",
"description": "Absolute path to the image file."
}
},
"required": [
"@type",
"@order",
"$"
]
},
"description": "List of related images as banners, logo's, backgrounds..."
},
"videos": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`Video categorization.`"
},
"$": {
"type": "string",
"description": "Absolute path to the video file."
}
},
"required": [
"@type",
"$"
]
},
"description": "List of related images as banners, logo's, backgrounds..."
},
"files": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`File categorization.`"
},
"$": {
"type": "string",
"description": "Absolute path to the file."
}
},
"required": [
"@type",
"$"
]
},
"description": "List of related images as banners, logo's, backgrounds..."
},
"banners": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`Banner categorization, ie: CHANNEL_PURCHASE_HEADER_BANNER, CHANNEL_PURCHASE_BANNER, PROMOTER_PURCHASE_BANNER`"
},
"imageUrl": {
"type": "string",
"description": "Absolute path to the banner image file."
},
"linkUrl": {
"type": "string",
"description": "Direct link to the promotional site just in case."
}
},
"required": [
"@type",
"imageUrl"
]
},
"description": "List of related banners to put into a website, pdf, ticket..."
}
},
"required": [
"@language"
]
},
"location": {
"type": "object",
"properties": {
"address": {
"type": "string",
"description": "Venue address where the event will be performed."
},
"city": {
"type": "string",
"description": "City where the event will be performed."
},
"postalCode": {
"type": "string",
"description": "Postal code or zip code where the event will be performed."
},
"countrySubdivision": {
"type": "object",
"properties": {
"@code": {
"type": "string",
"description": "Item unique identifier."
},
"$": {
"type": "string",
"description": "Item value string."
}
},
"required": [
"@code",
"$"
],
"description": "`Country subdivision, this shall be the province, state or county. Ie: ES-T - Tarragona.`"
},
"country": {
"type": "object",
"properties": {
"@code": {
"type": "string",
"description": "Item unique identifier."
},
"$": {
"type": "string",
"description": "Item value string."
}
},
"required": [
"@code",
"$"
],
"description": "`Ie: ES - Spain.`"
},
"coordinates": {
"type": "string"
}
},
"required": [
"address",
"city",
"postalCode",
"countrySubdivision",
"country"
]
}
},
"required": [
"@id",
"@name"
]
},
"catalog-info": {
"type": "object",
"properties": {
"entityId": {
"type": "number"
},
"name": {
"type": "string"
}
},
"required": [
"name"
]
},
"attributes": {
"type": "object",
"properties": {
"attribute": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique attribute identifier."
},
"name": {
"type": "string"
}
},
"required": [
"@id",
"name"
]
}
}
},
"required": [
"attribute"
]
},
"product-image": {
"type": "array",
"items": {
"type": "object",
"properties": {}
}
},
"forSale": {
"type": "boolean"
},
"bookable": {
"type": "boolean"
},
"product-variant": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "number",
"description": "Unique product variant identifier."
},
"sku": {
"type": "string"
},
"price-breakdown": {
"type": "object",
"properties": {
"base-price": {
"type": "number"
},
"automatic-promotion": {
"type": "number"
},
"manual-promotion": {
"type": "number"
},
"manual-discount": {
"type": "number"
},
"client-discount": {
"type": "number"
},
"client-comission": {
"type": "number"
},
"charges": {
"type": "object",
"properties": {
"charge": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"enum": [
"CHANNEL_CHARGE",
"PROMOTER_CHARGE",
"PROMOTER_CHANNEL_CHARGE"
]
},
"value 1.5": {
"type": "number",
"description": "Value of the charge."
}
},
"required": [
"value 1.5"
]
}
}
},
"required": [
"charge"
]
},
"delivery-costs": {
"type": "number"
},
"insurance": {
"type": "number"
},
"taxes": {
"type": "object",
"properties": {
"tax": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique product identifier."
},
"value": {
"type": "number"
}
},
"required": [
"@id",
"value"
]
}
}
},
"required": [
"tax"
]
},
"final-price": {
"type": "number"
}
},
"required": [
"base-price",
"final-price"
]
},
"limited-stock": {
"type": "boolean"
},
"variant-availability": {
"type": "number"
},
"variant-attributes": {
"type": "object",
"properties": {
"variant-attribute": {
"type": "array",
"items": {
"type": "object",
"properties": {
"attribute": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique attribute identifier."
},
"name": {
"type": "string"
}
},
"required": [
"@id",
"name"
]
},
"value": {
"type": "string"
}
},
"required": [
"attribute",
"value"
]
}
}
},
"required": [
"variant-attribute"
]
},
"venue": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Onebox internal venue unique identifier."
},
"@name": {
"type": "string",
"description": "Public venue name."
},
"@timeZone": {
"type": "string",
"description": "Define the time zone worldwide from UTC."
},
"communication-elements": {
"type": "object",
"properties": {
"@language": {
"type": "string",
"description": "Indicates the language of the communitacion event details."
},
"images": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`Image categorization, ie: LOGO_WEB, IMG_BANNER_WEB, IMG_BODY_WEB.`"
},
"@order": {
"type": "number",
"description": "Indicates just the order/priority in case of same type. This number is unique."
},
"$": {
"type": "string",
"description": "Absolute path to the image file."
}
},
"required": [
"@type",
"@order",
"$"
]
},
"description": "List of related images as banners, logo's, backgrounds..."
},
"videos": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`Video categorization.`"
},
"$": {
"type": "string",
"description": "Absolute path to the video file."
}
},
"required": [
"@type",
"$"
]
},
"description": "List of related images as banners, logo's, backgrounds..."
},
"files": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`File categorization.`"
},
"$": {
"type": "string",
"description": "Absolute path to the file."
}
},
"required": [
"@type",
"$"
]
},
"description": "List of related images as banners, logo's, backgrounds..."
},
"banners": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`Banner categorization, ie: CHANNEL_PURCHASE_HEADER_BANNER, CHANNEL_PURCHASE_BANNER, PROMOTER_PURCHASE_BANNER`"
},
"imageUrl": {
"type": "string",
"description": "Absolute path to the banner image file."
},
"linkUrl": {
"type": "string",
"description": "Direct link to the promotional site just in case."
}
},
"required": [
"@type",
"imageUrl"
]
},
"description": "List of related banners to put into a website, pdf, ticket..."
}
},
"required": [
"@language"
]
},
"location": {
"type": "object",
"properties": {
"address": {
"type": "string",
"description": "Venue address where the event will be performed."
},
"city": {
"type": "string",
"description": "City where the event will be performed."
},
"postalCode": {
"type": "string",
"description": "Postal code or zip code where the event will be performed."
},
"countrySubdivision": {
"type": "object",
"properties": {
"@code": {
"type": "string",
"description": "Item unique identifier."
},
"$": {
"type": "string",
"description": "Item value string."
}
},
"required": [
"@code",
"$"
],
"description": "`Country subdivision, this shall be the province, state or county. Ie: ES-T - Tarragona.`"
},
"country": {
"type": "object",
"properties": {
"@code": {
"type": "string",
"description": "Item unique identifier."
},
"$": {
"type": "string",
"description": "Item value string."
}
},
"required": [
"@code",
"$"
],
"description": "`Ie: ES - Spain.`"
},
"coordinates": {
"type": "string"
}
},
"required": [
"address",
"city",
"postalCode",
"countrySubdivision",
"country"
]
}
},
"required": [
"@id",
"@name"
]
},
"catalog-info": {
"type": "object",
"properties": {
"entityId": {
"type": "number"
},
"name": {
"type": "string"
}
},
"required": [
"name"
]
},
"product-info": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique product identifier."
},
"internalName": {
"type": "string"
},
"name": {
"type": "string"
},
"dates": {
"type": "object",
"properties": {
"datetime": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"enum": [
"EVENT_BEGIN",
"EVENT_END",
"SESSION_BEGIN",
"SESSION_END",
"SESSION_SALES_BEGIN",
"SESSION_SALES_END",
"PRODUCT_SALES",
"PRODUCT_SALES_END",
"SESSION_PUBLISHED",
"PROMOTION_BEGIN",
"PROMOTION_END",
"SEASON_TICKET_HOLDER_BEGIN",
"SEASON_TICKET_HOLDER_END"
],
"description": "Define the date meaning possibilites."
},
"@pendingConfirmation": {
"type": "boolean",
"description": "Says whether the date is finally commited or not."
},
"@timeZoneId": {
"type": "string",
"description": "Define the time zone worldwide from UTC."
},
"$": {
"type": "string",
"description": "XmlGregorianCalendar representation of the given date."
}
}
}
}
}
},
"venue": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Onebox internal venue unique identifier."
},
"@name": {
"type": "string",
"description": "Public venue name."
},
"@timeZone": {
"type": "string",
"description": "Define the time zone worldwide from UTC."
},
"communication-elements": {
"type": "object",
"properties": {
"@language": {
"type": "string",
"description": "Indicates the language of the communitacion event details."
},
"images": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`Image categorization, ie: LOGO_WEB, IMG_BANNER_WEB, IMG_BODY_WEB.`"
},
"@order": {
"type": "number",
"description": "Indicates just the order/priority in case of same type. This number is unique."
},
"$": {
"type": "string",
"description": "Absolute path to the image file."
}
},
"required": [
"@type",
"@order",
"$"
]
},
"description": "List of related images as banners, logo's, backgrounds..."
},
"videos": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`Video categorization.`"
},
"$": {
"type": "string",
"description": "Absolute path to the video file."
}
},
"required": [
"@type",
"$"
]
},
"description": "List of related images as banners, logo's, backgrounds..."
},
"files": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`File categorization.`"
},
"$": {
"type": "string",
"description": "Absolute path to the file."
}
},
"required": [
"@type",
"$"
]
},
"description": "List of related images as banners, logo's, backgrounds..."
},
"banners": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`Banner categorization, ie: CHANNEL_PURCHASE_HEADER_BANNER, CHANNEL_PURCHASE_BANNER, PROMOTER_PURCHASE_BANNER`"
},
"imageUrl": {
"type": "string",
"description": "Absolute path to the banner image file."
},
"linkUrl": {
"type": "string",
"description": "Direct link to the promotional site just in case."
}
},
"required": [
"@type",
"imageUrl"
]
},
"description": "List of related banners to put into a website, pdf, ticket..."
}
},
"required": [
"@language"
]
},
"location": {
"type": "object",
"properties": {
"address": {
"type": "string",
"description": "Venue address where the event will be performed."
},
"city": {
"type": "string",
"description": "City where the event will be performed."
},
"postalCode": {
"type": "string",
"description": "Postal code or zip code where the event will be performed."
},
"countrySubdivision": {
"type": "object",
"properties": {
"@code": {
"type": "string",
"description": "Item unique identifier."
},
"$": {
"type": "string",
"description": "Item value string."
}
},
"required": [
"@code",
"$"
],
"description": "`Country subdivision, this shall be the province, state or county. Ie: ES-T - Tarragona.`"
},
"country": {
"type": "object",
"properties": {
"@code": {
"type": "string",
"description": "Item unique identifier."
},
"$": {
"type": "string",
"description": "Item value string."
}
},
"required": [
"@code",
"$"
],
"description": "`Ie: ES - Spain.`"
},
"coordinates": {
"type": "string"
}
},
"required": [
"address",
"city",
"postalCode",
"countrySubdivision",
"country"
]
}
},
"required": [
"@id",
"@name"
]
},
"catalog-info": {
"type": "object",
"properties": {
"entityId": {
"type": "number"
},
"name": {
"type": "string"
}
},
"required": [
"name"
]
},
"attributes": {
"type": "object",
"properties": {
"attribute": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique attribute identifier."
},
"name": {
"type": "string"
}
},
"required": [
"@id",
"name"
]
}
}
},
"required": [
"attribute"
]
},
"product-image": {
"type": "array",
"items": {
"type": "object",
"properties": {}
}
},
"forSale": {
"type": "boolean"
},
"bookable": {
"type": "boolean"
},
"product-variant": {
"type": "array",
"items": {
"type": "object",
"properties": {}
},
"description": "Avoided loop. Object just like your ancestor 'product-info'"
}
},
"required": [
"@id",
"internalName",
"name",
"venue",
"catalog-info",
"attributes",
"product-image",
"product-variant"
]
}
},
"required": [
"id",
"price-breakdown",
"venue",
"catalog-info",
"product-info"
]
}
}
},
"required": [
"@id",
"internalName",
"name",
"venue",
"catalog-info",
"attributes",
"product-image",
"product-variant"
]
},
"variant-attributes": {
"type": "object",
"properties": {
"variant-attribute": {
"type": "array",
"items": {
"type": "object",
"properties": {
"attribute": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique attribute identifier."
},
"name": {
"type": "string"
}
},
"required": [
"@id",
"name"
]
},
"value": {
"type": "string"
}
},
"required": [
"attribute",
"value"
]
}
}
},
"required": [
"variant-attribute"
]
},
"printouts": {
"type": "number"
},
"cancellations": {
"type": "number"
},
"status": {
"type": "string",
"enum": [
"PURCHASED",
"REFUND",
"PREORDER",
"CONFIRMED",
"INVITATION"
]
},
"sku": {
"type": "string"
},
"customer": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique customer identifier."
},
"name": {
"type": "string"
},
"lastname": {
"type": "string"
},
"$": {
"type": "string"
},
"email": {
"type": "string"
},
"receiptMail": {
"type": "string"
},
"ticketMail": {
"type": "string"
},
"phone": {
"type": "string"
},
"identification": {
"type": "object",
"properties": {
"value": {
"type": "string"
},
"@type": {
"type": "string"
}
},
"required": [
"value",
"@type"
]
},
"gender": {
"type": "string",
"enum": [
"NOT_DEFINED",
"MALE",
"FEMALE"
]
},
"location": {
"type": "object",
"properties": {
"address": {
"type": "string",
"description": "Venue address where the event will be performed."
},
"city": {
"type": "string",
"description": "City where the event will be performed."
},
"postalCode": {
"type": "string",
"description": "Postal code or zip code where the event will be performed."
},
"countrySubdivision": {
"type": "object",
"properties": {
"@code": {
"type": "string",
"description": "Item unique identifier."
},
"$": {
"type": "string",
"description": "Item value string."
}
},
"required": [
"@code",
"$"
],
"description": "`Country subdivision, this shall be the province, state or county. Ie: ES-T - Tarragona.`"
},
"country": {
"type": "object",
"properties": {
"@code": {
"type": "string",
"description": "Item unique identifier."
},
"$": {
"type": "string",
"description": "Item value string."
}
},
"required": [
"@code",
"$"
],
"description": "`Ie: ES - Spain.`"
},
"coordinates": {
"type": "string"
}
},
"required": [
"address",
"city",
"postalCode",
"countrySubdivision",
"country"
]
},
"idCard": {
"type": "string"
},
"docType": {
"type": "number"
},
"profile-data": {
"type": "object",
"properties": {
"@`profile-id`": {
"type": "number",
"description": "Unique profile data identifier."
},
"profile-field": {
"type": "array"
}
},
"required": [
"@`profile-id`"
]
},
"language": {
"type": "object",
"properties": {
"value": {
"type": "string"
},
"@code": {
"type": "string"
}
},
"required": [
"value",
"@code"
]
},
"groupValidation": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@idGroup": {
"type": "number",
"description": "Unique group validation identifier."
},
"user": {
"type": "string"
},
"promotionalCode": {
"type": "string"
},
"externalProperties": {
"type": "object",
"properties": {
"externalId": {
"type": "string"
}
}
}
},
"required": [
"@idGroup",
"user",
"promotionalCode"
]
}
},
"allowCommercialMailing": {
"type": "boolean"
}
},
"required": [
"@id",
"name",
"lastname",
"$",
"gender",
"location"
]
},
"session-basic-info": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "`Onebox session/performance unique identifier.`"
},
"internalName": {
"type": "string",
"description": "Product internal description name."
},
"name": {
"type": "string",
"description": "Public product name depending on the language requestd."
},
"description": {
"type": "string",
"description": "Session description"
},
"dates": {
"type": "object",
"properties": {
"datetime": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"enum": [
"EVENT_BEGIN",
"EVENT_END",
"SESSION_BEGIN",
"SESSION_END",
"SESSION_SALES_BEGIN",
"SESSION_SALES_END",
"PRODUCT_SALES",
"PRODUCT_SALES_END",
"SESSION_PUBLISHED",
"PROMOTION_BEGIN",
"PROMOTION_END",
"SEASON_TICKET_HOLDER_BEGIN",
"SEASON_TICKET_HOLDER_END"
],
"description": "Define the date meaning possibilites."
},
"@pendingConfirmation": {
"type": "boolean",
"description": "Says whether the date is finally commited or not."
},
"@timeZoneId": {
"type": "string",
"description": "Define the time zone worldwide from UTC."
},
"$": {
"type": "string",
"description": "XmlGregorianCalendar representation of the given date."
}
}
}
}
}
},
"venue": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Onebox internal venue unique identifier."
},
"@name": {
"type": "string",
"description": "Public venue name."
},
"@timeZone": {
"type": "string",
"description": "Define the time zone worldwide from UTC."
},
"communication-elements": {
"type": "object",
"properties": {
"@language": {
"type": "string",
"description": "Indicates the language of the communitacion event details."
},
"images": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`Image categorization, ie: LOGO_WEB, IMG_BANNER_WEB, IMG_BODY_WEB.`"
},
"@order": {
"type": "number",
"description": "Indicates just the order/priority in case of same type. This number is unique."
},
"$": {
"type": "string",
"description": "Absolute path to the image file."
}
},
"required": [
"@type",
"@order",
"$"
]
},
"description": "List of related images as banners, logo's, backgrounds..."
},
"videos": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`Video categorization.`"
},
"$": {
"type": "string",
"description": "Absolute path to the video file."
}
},
"required": [
"@type",
"$"
]
},
"description": "List of related images as banners, logo's, backgrounds..."
},
"files": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`File categorization.`"
},
"$": {
"type": "string",
"description": "Absolute path to the file."
}
},
"required": [
"@type",
"$"
]
},
"description": "List of related images as banners, logo's, backgrounds..."
},
"banners": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`Banner categorization, ie: CHANNEL_PURCHASE_HEADER_BANNER, CHANNEL_PURCHASE_BANNER, PROMOTER_PURCHASE_BANNER`"
},
"imageUrl": {
"type": "string",
"description": "Absolute path to the banner image file."
},
"linkUrl": {
"type": "string",
"description": "Direct link to the promotional site just in case."
}
},
"required": [
"@type",
"imageUrl"
]
},
"description": "List of related banners to put into a website, pdf, ticket..."
}
},
"required": [
"@language"
]
},
"location": {
"type": "object",
"properties": {
"address": {
"type": "string",
"description": "Venue address where the event will be performed."
},
"city": {
"type": "string",
"description": "City where the event will be performed."
},
"postalCode": {
"type": "string",
"description": "Postal code or zip code where the event will be performed."
},
"countrySubdivision": {
"type": "object",
"properties": {
"@code": {
"type": "string",
"description": "Item unique identifier."
},
"$": {
"type": "string",
"description": "Item value string."
}
},
"required": [
"@code",
"$"
],
"description": "`Country subdivision, this shall be the province, state or county. Ie: ES-T - Tarragona.`"
},
"country": {
"type": "object",
"properties": {
"@code": {
"type": "string",
"description": "Item unique identifier."
},
"$": {
"type": "string",
"description": "Item value string."
}
},
"required": [
"@code",
"$"
],
"description": "`Ie: ES - Spain.`"
},
"coordinates": {
"type": "string"
}
},
"required": [
"address",
"city",
"postalCode",
"countrySubdivision",
"country"
]
}
},
"required": [
"@id",
"@name"
]
},
"space": {
"type": "object",
"properties": {
"id": {
"type": "number",
"description": "Unique space identifier."
},
"name": {
"type": "string",
"description": "Space name."
}
}
},
"event-basic-info": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique identifier for each event/activity product."
},
"internalName": {
"type": "string",
"description": "Product internal description name."
},
"externalReferenceCode": {
"type": "string",
"description": "In case of product from 3rd party suppliers, those came with its own reference."
},
"title": {
"type": "string",
"description": "Event main title"
},
"subtitle": {
"type": "string",
"description": "Event secondary title"
},
"shortDescription": {
"type": "string",
"description": "Event short description"
},
"longDescription": {
"type": "string",
"description": "Event detailed description"
},
"additionalEventData": {
"type": "string"
},
"duration": {
"type": "string"
},
"communication-elements": {
"type": "object",
"properties": {
"@language": {
"type": "string",
"description": "Indicates the language of the communitacion event details."
},
"images": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`Image categorization, ie: LOGO_WEB, IMG_BANNER_WEB, IMG_BODY_WEB.`"
},
"@order": {
"type": "number",
"description": "Indicates just the order/priority in case of same type. This number is unique."
},
"$": {
"type": "string",
"description": "Absolute path to the image file."
}
},
"required": [
"@type",
"@order",
"$"
]
},
"description": "List of related images as banners, logo's, backgrounds..."
},
"videos": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`Video categorization.`"
},
"$": {
"type": "string",
"description": "Absolute path to the video file."
}
},
"required": [
"@type",
"$"
]
},
"description": "List of related images as banners, logo's, backgrounds..."
},
"files": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`File categorization.`"
},
"$": {
"type": "string",
"description": "Absolute path to the file."
}
},
"required": [
"@type",
"$"
]
},
"description": "List of related images as banners, logo's, backgrounds..."
},
"banners": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`Banner categorization, ie: CHANNEL_PURCHASE_HEADER_BANNER, CHANNEL_PURCHASE_BANNER, PROMOTER_PURCHASE_BANNER`"
},
"imageUrl": {
"type": "string",
"description": "Absolute path to the banner image file."
},
"linkUrl": {
"type": "string",
"description": "Direct link to the promotional site just in case."
}
},
"required": [
"@type",
"imageUrl"
]
},
"description": "List of related banners to put into a website, pdf, ticket..."
}
},
"required": [
"@language"
]
},
"taxonomy": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique identifier of this product segmentation."
},
"code": {
"type": "string",
"description": "Unique identifier fo this product segmentation to be used in th API."
},
"description": {
"type": "string",
"description": "Short description to better understand the taxonomy segmentation."
},
"superior-taxonomy": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique identifier of this product segmentation."
},
"code": {
"type": "string",
"description": "Unique identifier fo this product segmentation to be used in th API."
},
"description": {
"type": "string",
"description": "Short description to better understand the taxonomy segmentation."
}
},
"required": [
"@id",
"code"
]
}
},
"required": [
"@id",
"code"
]
},
"custom-taxonomy": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique identifier of this product segmentation."
},
"code": {
"type": "string",
"description": "Unique identifier fo this product segmentation to be used in th API."
},
"description": {
"type": "string",
"description": "Short description to better understand the taxonomy segmentation."
}
},
"required": [
"@id",
"code"
]
},
"promoter-custom-taxonomy": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique identifier of this product segmentation."
},
"code": {
"type": "string",
"description": "Unique identifier fo this product segmentation to be used in th API."
},
"description": {
"type": "string",
"description": "Short description to better understand the taxonomy segmentation."
}
},
"required": [
"@id",
"code"
]
},
"languages": {
"type": "object",
"properties": {
"language": {
"type": "array",
"items": [
{},
{
"type": "string",
"enum": [
"ca_ES",
"es_ES",
"en_US",
"fr_FR",
"it_IT",
"de_DE"
]
}
],
"description": "`List of the available languages for the event descriptions.`"
}
}
},
"dates": {
"type": "object",
"properties": {
"datetime": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"enum": [
"EVENT_BEGIN",
"EVENT_END",
"SESSION_BEGIN",
"SESSION_END",
"SESSION_SALES_BEGIN",
"SESSION_SALES_END",
"PRODUCT_SALES",
"PRODUCT_SALES_END",
"SESSION_PUBLISHED",
"PROMOTION_BEGIN",
"PROMOTION_END",
"SEASON_TICKET_HOLDER_BEGIN",
"SEASON_TICKET_HOLDER_END"
],
"description": "Define the date meaning possibilites."
},
"@pendingConfirmation": {
"type": "boolean",
"description": "Says whether the date is finally commited or not."
},
"@timeZoneId": {
"type": "string",
"description": "Define the time zone worldwide from UTC."
},
"$": {
"type": "string",
"description": "XmlGregorianCalendar representation of the given date."
}
}
}
}
}
},
"entidad": {
"type": "object",
"properties": {
"@id": {
"type": "number"
},
"name": {
"type": "string",
"description": "Promotor/Organizer company name."
},
"nif": {
"type": "string",
"description": "Tax/Vat unique identifier number."
},
"email": {
"type": "string"
},
"phoneNumber": {
"type": "string"
},
"timeZone": {
"type": "string"
},
"location": {
"type": "object",
"properties": {
"address": {
"type": "string",
"description": "Venue address where the event will be performed."
},
"city": {
"type": "string",
"description": "City where the event will be performed."
},
"postalCode": {
"type": "string",
"description": "Postal code or zip code where the event will be performed."
},
"countrySubdivision": {
"type": "object",
"properties": {
"@code": {
"type": "string",
"description": "Item unique identifier."
},
"$": {
"type": "string",
"description": "Item value string."
}
},
"required": [
"@code",
"$"
],
"description": "`Country subdivision, this shall be the province, state or county. Ie: ES-T - Tarragona.`"
},
"country": {
"type": "object",
"properties": {
"@code": {
"type": "string",
"description": "Item unique identifier."
},
"$": {
"type": "string",
"description": "Item value string."
}
},
"required": [
"@code",
"$"
],
"description": "`Ie: ES - Spain.`"
},
"coordinates": {
"type": "string"
}
},
"required": [
"address",
"city",
"postalCode",
"countrySubdivision",
"country"
]
}
},
"required": [
"@id",
"name",
"nif",
"email",
"phoneNumber",
"timeZone"
]
},
"promotor": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Onebox internal unique identifier."
},
"corporateName": {
"type": "string"
},
"fiscalCode": {
"type": "string",
"description": "Tax/Vat unique identifier number."
},
"email": {
"type": "string"
},
"phoneNumber": {
"type": "string"
},
"location": {
"type": "object",
"properties": {
"address": {
"type": "string",
"description": "Venue address where the event will be performed."
},
"city": {
"type": "string",
"description": "City where the event will be performed."
},
"postalCode": {
"type": "string",
"description": "Postal code or zip code where the event will be performed."
},
"countrySubdivision": {
"type": "object",
"properties": {
"@code": {
"type": "string",
"description": "Item unique identifier."
},
"$": {
"type": "string",
"description": "Item value string."
}
},
"required": [
"@code",
"$"
],
"description": "`Country subdivision, this shall be the province, state or county. Ie: ES-T - Tarragona.`"
},
"country": {
"type": "object",
"properties": {
"@code": {
"type": "string",
"description": "Item unique identifier."
},
"$": {
"type": "string",
"description": "Item value string."
}
},
"required": [
"@code",
"$"
],
"description": "`Ie: ES - Spain.`"
},
"coordinates": {
"type": "string"
}
},
"required": [
"address",
"city",
"postalCode",
"countrySubdivision",
"country"
]
}
},
"required": [
"@id",
"corporateName",
"fiscalCode",
"email",
"phoneNumber"
]
},
"tour": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Onebox internal unique identifier."
},
"name": {
"type": "string",
"description": "Tour name."
},
"promotorReference": {
"type": "string",
"description": "Promotor reference."
}
},
"required": [
"@id",
"name",
"promotorReference"
]
},
"severalVenues": {
"type": "boolean",
"description": "Is the event performed in different venues?"
},
"severalLocations": {
"type": "boolean",
"description": "Is the event perfomed in different locations?"
},
"supraEvent": {
"type": "boolean",
"description": "Is the event a sibling from another parent event?"
},
"giftTicket": {
"type": "boolean",
"description": "Has this event free entrance tickets allowed?"
},
"nominal": {
"type": "boolean",
"description": "Has the ticket to indicate the owner name / surname / id details?"
},
"eventType": {
"type": "string",
"enum": [
"EVENT",
"ACTIVITY"
]
},
"attribute-values": {
"type": "array",
"items": {
"type": "object",
"properties": {
"attribute-info": {
"type": "object",
"properties": {
"id": {
"type": "number",
"description": "Unique identifier."
},
"name": {
"type": "string"
},
"selection": {
"type": "string",
"enum": [
"SINGLE",
"MULTIPLE"
]
},
"domain-value-info": {
"type": "array",
"items": {
"type": "object",
"properties": {
"idValue": {
"type": "number",
"description": "Unique identifier."
},
"value": {
"type": "string"
},
"referenceCode": {
"type": "string"
}
},
"required": [
"idValue",
"value",
"referenceCode"
]
}
},
"domain": {
"type": "string",
"enum": [
"EVENT",
"SESSION",
"GROUP",
"PROFILE"
]
},
"valueType": {
"type": "string",
"enum": [
"USER_INPUT_INTEGER",
"USER_INPUT_STRING",
"DOMAIN_VALUE"
]
},
"referenceCode": {
"type": "string"
}
},
"required": [
"id",
"name",
"selection",
"domain-value-info",
"domain",
"valueType",
"referenceCode"
]
},
"attribute-value": {
"type": "array",
"items": {
"type": "object",
"properties": {
"user-input-value": {
"type": "object",
"properties": {},
"description": "Unique identifier."
},
"domain-value": {
"type": "object",
"properties": {
"value": {
"type": "string"
},
"idValue": {
"type": "number"
}
},
"required": [
"value"
],
"description": "Unique identifier."
}
}
}
},
"idAttribute": {
"type": "number"
},
"description": {
"type": "string"
}
},
"required": [
"attribute-info",
"attribute-value"
]
}
},
"passbookPreferences": {
"type": [
"object",
"null"
],
"properties": {
"communication-elements": {
"type": "object",
"properties": {
"@language": {
"type": "string",
"description": "Indicates the language of the communitacion event details."
},
"images": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`Image categorization, ie: LOGO_WEB, IMG_BANNER_WEB, IMG_BODY_WEB.`"
},
"@order": {
"type": "number",
"description": "Indicates just the order/priority in case of same type. This number is unique."
},
"$": {
"type": "string",
"description": "Absolute path to the image file."
}
},
"required": [
"@type",
"@order",
"$"
]
},
"description": "List of related images as banners, logo's, backgrounds..."
},
"videos": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`Video categorization.`"
},
"$": {
"type": "string",
"description": "Absolute path to the video file."
}
},
"required": [
"@type",
"$"
]
},
"description": "List of related images as banners, logo's, backgrounds..."
},
"files": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`File categorization.`"
},
"$": {
"type": "string",
"description": "Absolute path to the file."
}
},
"required": [
"@type",
"$"
]
},
"description": "List of related images as banners, logo's, backgrounds..."
},
"banners": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`Banner categorization, ie: CHANNEL_PURCHASE_HEADER_BANNER, CHANNEL_PURCHASE_BANNER, PROMOTER_PURCHASE_BANNER`"
},
"imageUrl": {
"type": "string",
"description": "Absolute path to the banner image file."
},
"linkUrl": {
"type": "string",
"description": "Direct link to the promotional site just in case."
}
},
"required": [
"@type",
"imageUrl"
]
},
"description": "List of related banners to put into a website, pdf, ticket..."
}
},
"required": [
"@language"
]
},
"textColor": {
"type": "string"
},
"labelColor": {
"type": "string"
},
"backgroundColor": {
"type": "string"
}
}
},
"clientEventDiscount": {
"type": "object",
"properties": {
"discountType": {
"type": "string",
"enum": [
"AMOUNT",
"PERCENT"
]
},
"discount": {
"type": "number"
}
},
"required": [
"discountType"
]
}
},
"required": [
"@id",
"internalName",
"externalReferenceCode",
"title",
"subtitle",
"shortDescription",
"longDescription",
"additionalEventData",
"duration",
"severalVenues",
"severalLocations",
"supraEvent",
"giftTicket",
"nominal",
"eventType",
"passbookPreferences"
]
},
"forSale": {
"type": "boolean",
"description": "Indicates the event is whether on sale or not."
},
"blockingReasons": {
"type": "string"
},
"hasProducts": {
"type": "boolean",
"description": "For Onebox box office purposes only."
},
"admission": {
"type": "string",
"enum": [
"ALL_AGES_ADMITTED",
"NOT_ADMITTED_UNDER_4",
"NOT_ADMITTED_UNDER_7",
"NOT_ADMITTED_UNDER_8",
"NOT_ADMITTED_UNDER_12",
"NOT_ADMITTED_UNDER_13",
"NOT_ADMITTED_UNDER_14",
"NOT_ADMITTED_UNDER_16",
"NOT_ADMITTED_UNDER_18",
"NOT_ADMITTED_UNDER_21"
],
"description": "Filter the age range to be admitted as an attendant."
},
"supportedEventType": {
"type": "string",
"enum": [
"EVENT",
"ACTIVITY"
]
},
"supportedVisitorType": {
"type": "string",
"enum": [
"INDIVIDUAL",
"GROUP",
"MIXED"
]
},
"attribute-values": {
"type": "array",
"items": {
"type": "object",
"properties": {
"attribute-info": {
"type": "object",
"properties": {
"id": {
"type": "number",
"description": "Unique identifier."
},
"name": {
"type": "string"
},
"selection": {
"type": "string",
"enum": [
"SINGLE",
"MULTIPLE"
]
},
"domain-value-info": {
"type": "array",
"items": {
"type": "object",
"properties": {
"idValue": {
"type": "number",
"description": "Unique identifier."
},
"value": {
"type": "string"
},
"referenceCode": {
"type": "string"
}
},
"required": [
"idValue",
"value",
"referenceCode"
]
}
},
"domain": {
"type": "string",
"enum": [
"EVENT",
"SESSION",
"GROUP",
"PROFILE"
]
},
"valueType": {
"type": "string",
"enum": [
"USER_INPUT_INTEGER",
"USER_INPUT_STRING",
"DOMAIN_VALUE"
]
},
"referenceCode": {
"type": "string"
}
},
"required": [
"id",
"name",
"selection",
"domain-value-info",
"domain",
"valueType",
"referenceCode"
]
},
"attribute-value": {
"type": "array",
"items": {
"type": "object",
"properties": {
"user-input-value": {
"type": "object",
"properties": {},
"description": "Unique identifier."
},
"domain-value": {
"type": "object",
"properties": {
"value": {
"type": "string"
},
"idValue": {
"type": "number"
}
},
"required": [
"value"
],
"description": "Unique identifier."
}
}
}
},
"idAttribute": {
"type": "number"
},
"description": {
"type": "string"
}
},
"required": [
"attribute-info",
"attribute-value"
]
}
},
"visitorGroupConfig": {
"type": "string"
},
"hideSessionDates": {
"type": "boolean",
"description": "For Onebox box office purposes only."
},
"showDate": {
"type": "boolean",
"description": "For Onebox box office purposes only."
},
"showDatetime": {
"type": "boolean",
"description": "For Onebox box office purposes only."
},
"@rates": {
"type": "string",
"description": "Rate description identifier."
},
"season-session-info": {
"type": "object",
"properties": {
"beginDate": {
"type": "string"
},
"endDate": {
"type": "string"
},
"idsSeasonSessions": {
"type": "array"
},
"seasonSessions": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "`Onebox session/performance unique identifier.`"
},
"internalName": {
"type": "string",
"description": "Product internal description name."
},
"name": {
"type": "string",
"description": "Public product name depending on the language requestd."
},
"description": {
"type": "string",
"description": "Session description"
},
"dates": {
"type": "object",
"properties": {
"datetime": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"enum": [
"EVENT_BEGIN",
"EVENT_END",
"SESSION_BEGIN",
"SESSION_END",
"SESSION_SALES_BEGIN",
"SESSION_SALES_END",
"PRODUCT_SALES",
"PRODUCT_SALES_END",
"SESSION_PUBLISHED",
"PROMOTION_BEGIN",
"PROMOTION_END",
"SEASON_TICKET_HOLDER_BEGIN",
"SEASON_TICKET_HOLDER_END"
],
"description": "Define the date meaning possibilites."
},
"@pendingConfirmation": {
"type": "boolean",
"description": "Says whether the date is finally commited or not."
},
"@timeZoneId": {
"type": "string",
"description": "Define the time zone worldwide from UTC."
},
"$": {
"type": "string",
"description": "XmlGregorianCalendar representation of the given date."
}
}
}
}
}
},
"venue": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Onebox internal venue unique identifier."
},
"@name": {
"type": "string",
"description": "Public venue name."
},
"@timeZone": {
"type": "string",
"description": "Define the time zone worldwide from UTC."
},
"communication-elements": {
"type": "object",
"properties": {
"@language": {
"type": "string",
"description": "Indicates the language of the communitacion event details."
},
"images": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`Image categorization, ie: LOGO_WEB, IMG_BANNER_WEB, IMG_BODY_WEB.`"
},
"@order": {
"type": "number",
"description": "Indicates just the order/priority in case of same type. This number is unique."
},
"$": {
"type": "string",
"description": "Absolute path to the image file."
}
},
"required": [
"@type",
"@order",
"$"
]
},
"description": "List of related images as banners, logo's, backgrounds..."
},
"videos": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`Video categorization.`"
},
"$": {
"type": "string",
"description": "Absolute path to the video file."
}
},
"required": [
"@type",
"$"
]
},
"description": "List of related images as banners, logo's, backgrounds..."
},
"files": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`File categorization.`"
},
"$": {
"type": "string",
"description": "Absolute path to the file."
}
},
"required": [
"@type",
"$"
]
},
"description": "List of related images as banners, logo's, backgrounds..."
},
"banners": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`Banner categorization, ie: CHANNEL_PURCHASE_HEADER_BANNER, CHANNEL_PURCHASE_BANNER, PROMOTER_PURCHASE_BANNER`"
},
"imageUrl": {
"type": "string",
"description": "Absolute path to the banner image file."
},
"linkUrl": {
"type": "string",
"description": "Direct link to the promotional site just in case."
}
},
"required": [
"@type",
"imageUrl"
]
},
"description": "List of related banners to put into a website, pdf, ticket..."
}
},
"required": [
"@language"
]
},
"location": {
"type": "object",
"properties": {
"address": {
"type": "string",
"description": "Venue address where the event will be performed."
},
"city": {
"type": "string",
"description": "City where the event will be performed."
},
"postalCode": {
"type": "string",
"description": "Postal code or zip code where the event will be performed."
},
"countrySubdivision": {
"type": "object",
"properties": {
"@code": {
"type": "string",
"description": "Item unique identifier."
},
"$": {
"type": "string",
"description": "Item value string."
}
},
"required": [
"@code",
"$"
],
"description": "`Country subdivision, this shall be the province, state or county. Ie: ES-T - Tarragona.`"
},
"country": {
"type": "object",
"properties": {
"@code": {
"type": "string",
"description": "Item unique identifier."
},
"$": {
"type": "string",
"description": "Item value string."
}
},
"required": [
"@code",
"$"
],
"description": "`Ie: ES - Spain.`"
},
"coordinates": {
"type": "string"
}
},
"required": [
"address",
"city",
"postalCode",
"countrySubdivision",
"country"
]
}
},
"required": [
"@id",
"@name"
]
},
"space": {
"type": "object",
"properties": {
"id": {
"type": "number",
"description": "Unique space identifier."
},
"name": {
"type": "string",
"description": "Space name."
}
}
},
"event-basic-info": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique identifier for each event/activity product."
},
"internalName": {
"type": "string",
"description": "Product internal description name."
},
"externalReferenceCode": {
"type": "string",
"description": "In case of product from 3rd party suppliers, those came with its own reference."
},
"title": {
"type": "string",
"description": "Event main title"
},
"subtitle": {
"type": "string",
"description": "Event secondary title"
},
"shortDescription": {
"type": "string",
"description": "Event short description"
},
"longDescription": {
"type": "string",
"description": "Event detailed description"
},
"additionalEventData": {
"type": "string"
},
"duration": {
"type": "string"
},
"communication-elements": {
"type": "object",
"properties": {
"@language": {
"type": "string",
"description": "Indicates the language of the communitacion event details."
},
"images": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`Image categorization, ie: LOGO_WEB, IMG_BANNER_WEB, IMG_BODY_WEB.`"
},
"@order": {
"type": "number",
"description": "Indicates just the order/priority in case of same type. This number is unique."
},
"$": {
"type": "string",
"description": "Absolute path to the image file."
}
},
"required": [
"@type",
"@order",
"$"
]
},
"description": "List of related images as banners, logo's, backgrounds..."
},
"videos": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`Video categorization.`"
},
"$": {
"type": "string",
"description": "Absolute path to the video file."
}
},
"required": [
"@type",
"$"
]
},
"description": "List of related images as banners, logo's, backgrounds..."
},
"files": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`File categorization.`"
},
"$": {
"type": "string",
"description": "Absolute path to the file."
}
},
"required": [
"@type",
"$"
]
},
"description": "List of related images as banners, logo's, backgrounds..."
},
"banners": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`Banner categorization, ie: CHANNEL_PURCHASE_HEADER_BANNER, CHANNEL_PURCHASE_BANNER, PROMOTER_PURCHASE_BANNER`"
},
"imageUrl": {
"type": "string",
"description": "Absolute path to the banner image file."
},
"linkUrl": {
"type": "string",
"description": "Direct link to the promotional site just in case."
}
},
"required": [
"@type",
"imageUrl"
]
},
"description": "List of related banners to put into a website, pdf, ticket..."
}
},
"required": [
"@language"
]
},
"taxonomy": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique identifier of this product segmentation."
},
"code": {
"type": "string",
"description": "Unique identifier fo this product segmentation to be used in th API."
},
"description": {
"type": "string",
"description": "Short description to better understand the taxonomy segmentation."
},
"superior-taxonomy": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique identifier of this product segmentation."
},
"code": {
"type": "string",
"description": "Unique identifier fo this product segmentation to be used in th API."
},
"description": {
"type": "string",
"description": "Short description to better understand the taxonomy segmentation."
}
},
"required": [
"@id",
"code"
]
}
},
"required": [
"@id",
"code"
]
},
"custom-taxonomy": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique identifier of this product segmentation."
},
"code": {
"type": "string",
"description": "Unique identifier fo this product segmentation to be used in th API."
},
"description": {
"type": "string",
"description": "Short description to better understand the taxonomy segmentation."
}
},
"required": [
"@id",
"code"
]
},
"promoter-custom-taxonomy": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique identifier of this product segmentation."
},
"code": {
"type": "string",
"description": "Unique identifier fo this product segmentation to be used in th API."
},
"description": {
"type": "string",
"description": "Short description to better understand the taxonomy segmentation."
}
},
"required": [
"@id",
"code"
]
},
"languages": {
"type": "object",
"properties": {
"language": {
"type": "array",
"items": [
{},
{
"type": "string",
"enum": [
"ca_ES",
"es_ES",
"en_US",
"fr_FR",
"it_IT",
"de_DE"
]
}
],
"description": "`List of the available languages for the event descriptions.`"
}
}
},
"dates": {
"type": "object",
"properties": {
"datetime": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"enum": [
"EVENT_BEGIN",
"EVENT_END",
"SESSION_BEGIN",
"SESSION_END",
"SESSION_SALES_BEGIN",
"SESSION_SALES_END",
"PRODUCT_SALES",
"PRODUCT_SALES_END",
"SESSION_PUBLISHED",
"PROMOTION_BEGIN",
"PROMOTION_END",
"SEASON_TICKET_HOLDER_BEGIN",
"SEASON_TICKET_HOLDER_END"
],
"description": "Define the date meaning possibilites."
},
"@pendingConfirmation": {
"type": "boolean",
"description": "Says whether the date is finally commited or not."
},
"@timeZoneId": {
"type": "string",
"description": "Define the time zone worldwide from UTC."
},
"$": {
"type": "string",
"description": "XmlGregorianCalendar representation of the given date."
}
}
}
}
}
},
"entidad": {
"type": "object",
"properties": {
"@id": {
"type": "number"
},
"name": {
"type": "string",
"description": "Promotor/Organizer company name."
},
"nif": {
"type": "string",
"description": "Tax/Vat unique identifier number."
},
"email": {
"type": "string"
},
"phoneNumber": {
"type": "string"
},
"timeZone": {
"type": "string"
},
"location": {
"type": "object",
"properties": {
"address": {
"type": "string",
"description": "Venue address where the event will be performed."
},
"city": {
"type": "string",
"description": "City where the event will be performed."
},
"postalCode": {
"type": "string",
"description": "Postal code or zip code where the event will be performed."
},
"countrySubdivision": {
"type": "object",
"properties": {
"@code": {
"type": "string",
"description": "Item unique identifier."
},
"$": {
"type": "string",
"description": "Item value string."
}
},
"required": [
"@code",
"$"
],
"description": "`Country subdivision, this shall be the province, state or county. Ie: ES-T - Tarragona.`"
},
"country": {
"type": "object",
"properties": {
"@code": {
"type": "string",
"description": "Item unique identifier."
},
"$": {
"type": "string",
"description": "Item value string."
}
},
"required": [
"@code",
"$"
],
"description": "`Ie: ES - Spain.`"
},
"coordinates": {
"type": "string"
}
},
"required": [
"address",
"city",
"postalCode",
"countrySubdivision",
"country"
]
}
},
"required": [
"@id",
"name",
"nif",
"email",
"phoneNumber",
"timeZone"
]
},
"promotor": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Onebox internal unique identifier."
},
"corporateName": {
"type": "string"
},
"fiscalCode": {
"type": "string",
"description": "Tax/Vat unique identifier number."
},
"email": {
"type": "string"
},
"phoneNumber": {
"type": "string"
},
"location": {
"type": "object",
"properties": {
"address": {
"type": "string",
"description": "Venue address where the event will be performed."
},
"city": {
"type": "string",
"description": "City where the event will be performed."
},
"postalCode": {
"type": "string",
"description": "Postal code or zip code where the event will be performed."
},
"countrySubdivision": {
"type": "object",
"properties": {
"@code": {
"type": "string",
"description": "Item unique identifier."
},
"$": {
"type": "string",
"description": "Item value string."
}
},
"required": [
"@code",
"$"
],
"description": "`Country subdivision, this shall be the province, state or county. Ie: ES-T - Tarragona.`"
},
"country": {
"type": "object",
"properties": {
"@code": {
"type": "string",
"description": "Item unique identifier."
},
"$": {
"type": "string",
"description": "Item value string."
}
},
"required": [
"@code",
"$"
],
"description": "`Ie: ES - Spain.`"
},
"coordinates": {
"type": "string"
}
},
"required": [
"address",
"city",
"postalCode",
"countrySubdivision",
"country"
]
}
},
"required": [
"@id",
"corporateName",
"fiscalCode",
"email",
"phoneNumber"
]
},
"tour": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Onebox internal unique identifier."
},
"name": {
"type": "string",
"description": "Tour name."
},
"promotorReference": {
"type": "string",
"description": "Promotor reference."
}
},
"required": [
"@id",
"name",
"promotorReference"
]
},
"severalVenues": {
"type": "boolean",
"description": "Is the event performed in different venues?"
},
"severalLocations": {
"type": "boolean",
"description": "Is the event perfomed in different locations?"
},
"supraEvent": {
"type": "boolean",
"description": "Is the event a sibling from another parent event?"
},
"giftTicket": {
"type": "boolean",
"description": "Has this event free entrance tickets allowed?"
},
"nominal": {
"type": "boolean",
"description": "Has the ticket to indicate the owner name / surname / id details?"
},
"eventType": {
"type": "string",
"enum": [
"EVENT",
"ACTIVITY"
]
},
"attribute-values": {
"type": "array",
"items": {
"type": "object",
"properties": {
"attribute-info": {
"type": "object",
"properties": {
"id": {
"type": "number",
"description": "Unique identifier."
},
"name": {
"type": "string"
},
"selection": {
"type": "string",
"enum": [
"SINGLE",
"MULTIPLE"
]
},
"domain-value-info": {
"type": "array",
"items": {
"type": "object",
"properties": {
"idValue": {
"type": "number",
"description": "Unique identifier."
},
"value": {
"type": "string"
},
"referenceCode": {
"type": "string"
}
},
"required": [
"idValue",
"value",
"referenceCode"
]
}
},
"domain": {
"type": "string",
"enum": [
"EVENT",
"SESSION",
"GROUP",
"PROFILE"
]
},
"valueType": {
"type": "string",
"enum": [
"USER_INPUT_INTEGER",
"USER_INPUT_STRING",
"DOMAIN_VALUE"
]
},
"referenceCode": {
"type": "string"
}
},
"required": [
"id",
"name",
"selection",
"domain-value-info",
"domain",
"valueType",
"referenceCode"
]
},
"attribute-value": {
"type": "array",
"items": {
"type": "object",
"properties": {
"user-input-value": {
"type": "object",
"properties": {},
"description": "Unique identifier."
},
"domain-value": {
"type": "object",
"properties": {
"value": {
"type": "string"
},
"idValue": {
"type": "number"
}
},
"required": [
"value"
],
"description": "Unique identifier."
}
}
}
},
"idAttribute": {
"type": "number"
},
"description": {
"type": "string"
}
},
"required": [
"attribute-info",
"attribute-value"
]
}
},
"passbookPreferences": {
"type": [
"object",
"null"
],
"properties": {
"communication-elements": {
"type": "object",
"properties": {
"@language": {
"type": "string",
"description": "Indicates the language of the communitacion event details."
},
"images": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`Image categorization, ie: LOGO_WEB, IMG_BANNER_WEB, IMG_BODY_WEB.`"
},
"@order": {
"type": "number",
"description": "Indicates just the order/priority in case of same type. This number is unique."
},
"$": {
"type": "string",
"description": "Absolute path to the image file."
}
},
"required": [
"@type",
"@order",
"$"
]
},
"description": "List of related images as banners, logo's, backgrounds..."
},
"videos": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`Video categorization.`"
},
"$": {
"type": "string",
"description": "Absolute path to the video file."
}
},
"required": [
"@type",
"$"
]
},
"description": "List of related images as banners, logo's, backgrounds..."
},
"files": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`File categorization.`"
},
"$": {
"type": "string",
"description": "Absolute path to the file."
}
},
"required": [
"@type",
"$"
]
},
"description": "List of related images as banners, logo's, backgrounds..."
},
"banners": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`Banner categorization, ie: CHANNEL_PURCHASE_HEADER_BANNER, CHANNEL_PURCHASE_BANNER, PROMOTER_PURCHASE_BANNER`"
},
"imageUrl": {
"type": "string",
"description": "Absolute path to the banner image file."
},
"linkUrl": {
"type": "string",
"description": "Direct link to the promotional site just in case."
}
},
"required": [
"@type",
"imageUrl"
]
},
"description": "List of related banners to put into a website, pdf, ticket..."
}
},
"required": [
"@language"
]
},
"textColor": {
"type": "string"
},
"labelColor": {
"type": "string"
},
"backgroundColor": {
"type": "string"
}
}
},
"clientEventDiscount": {
"type": "object",
"properties": {
"discountType": {
"type": "string",
"enum": [
"AMOUNT",
"PERCENT"
]
},
"discount": {
"type": "number"
}
},
"required": [
"discountType"
]
}
},
"required": [
"@id",
"internalName",
"externalReferenceCode",
"title",
"subtitle",
"shortDescription",
"longDescription",
"additionalEventData",
"duration",
"severalVenues",
"severalLocations",
"supraEvent",
"giftTicket",
"nominal",
"eventType",
"passbookPreferences"
]
},
"forSale": {
"type": "boolean",
"description": "Indicates the event is whether on sale or not."
},
"blockingReasons": {
"type": "string"
},
"hasProducts": {
"type": "boolean",
"description": "For Onebox box office purposes only."
},
"admission": {
"type": "string",
"enum": [
"ALL_AGES_ADMITTED",
"NOT_ADMITTED_UNDER_4",
"NOT_ADMITTED_UNDER_7",
"NOT_ADMITTED_UNDER_8",
"NOT_ADMITTED_UNDER_12",
"NOT_ADMITTED_UNDER_13",
"NOT_ADMITTED_UNDER_14",
"NOT_ADMITTED_UNDER_16",
"NOT_ADMITTED_UNDER_18",
"NOT_ADMITTED_UNDER_21"
],
"description": "Filter the age range to be admitted as an attendant."
},
"supportedEventType": {
"type": "string",
"enum": [
"EVENT",
"ACTIVITY"
]
},
"supportedVisitorType": {
"type": "string",
"enum": [
"INDIVIDUAL",
"GROUP",
"MIXED"
]
},
"attribute-values": {
"type": "array",
"items": {
"type": "object",
"properties": {
"attribute-info": {
"type": "object",
"properties": {
"id": {
"type": "number",
"description": "Unique identifier."
},
"name": {
"type": "string"
},
"selection": {
"type": "string",
"enum": [
"SINGLE",
"MULTIPLE"
]
},
"domain-value-info": {
"type": "array",
"items": {
"type": "object",
"properties": {
"idValue": {
"type": "number",
"description": "Unique identifier."
},
"value": {
"type": "string"
},
"referenceCode": {
"type": "string"
}
},
"required": [
"idValue",
"value",
"referenceCode"
]
}
},
"domain": {
"type": "string",
"enum": [
"EVENT",
"SESSION",
"GROUP",
"PROFILE"
]
},
"valueType": {
"type": "string",
"enum": [
"USER_INPUT_INTEGER",
"USER_INPUT_STRING",
"DOMAIN_VALUE"
]
},
"referenceCode": {
"type": "string"
}
},
"required": [
"id",
"name",
"selection",
"domain-value-info",
"domain",
"valueType",
"referenceCode"
]
},
"attribute-value": {
"type": "array",
"items": {
"type": "object",
"properties": {
"user-input-value": {
"type": "object",
"properties": {},
"description": "Unique identifier."
},
"domain-value": {
"type": "object",
"properties": {
"value": {
"type": "string"
},
"idValue": {
"type": "number"
}
},
"required": [
"value"
],
"description": "Unique identifier."
}
}
}
},
"idAttribute": {
"type": "number"
},
"description": {
"type": "string"
}
},
"required": [
"attribute-info",
"attribute-value"
]
}
},
"visitorGroupConfig": {
"type": "string"
},
"hideSessionDates": {
"type": "boolean",
"description": "For Onebox box office purposes only."
},
"showDate": {
"type": "boolean",
"description": "For Onebox box office purposes only."
},
"showDatetime": {
"type": "boolean",
"description": "For Onebox box office purposes only."
},
"@rates": {
"type": "string",
"description": "Rate description identifier."
},
"season-session-info": {
"type": "object",
"properties": {},
"description": "Avoided loop. Object just like your ancestor 'season-session-info'"
}
},
"required": [
"@id",
"internalName",
"name",
"description",
"venue",
"space",
"event-basic-info",
"blockingReasons",
"admission",
"supportedEventType",
"supportedVisitorType",
"hideSessionDates",
"showDate",
"showDatetime",
"@rates",
"season-session-info"
]
},
"@isSeasonSession": {
"type": "number",
"description": "Unique season session identifier."
}
},
"required": [
"seasonSessions",
"@isSeasonSession"
]
}
},
"required": [
"@id",
"internalName",
"name",
"description",
"venue",
"space",
"event-basic-info",
"blockingReasons",
"admission",
"supportedEventType",
"supportedVisitorType",
"hideSessionDates",
"showDate",
"showDatetime",
"@rates",
"season-session-info"
]
},
"event-basic-info": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique identifier for each event/activity product."
},
"internalName": {
"type": "string",
"description": "Product internal description name."
},
"externalReferenceCode": {
"type": "string",
"description": "In case of product from 3rd party suppliers, those came with its own reference."
},
"title": {
"type": "string",
"description": "Event main title"
},
"subtitle": {
"type": "string",
"description": "Event secondary title"
},
"shortDescription": {
"type": "string",
"description": "Event short description"
},
"longDescription": {
"type": "string",
"description": "Event detailed description"
},
"additionalEventData": {
"type": "string"
},
"duration": {
"type": "string"
},
"communication-elements": {
"type": "object",
"properties": {
"@language": {
"type": "string",
"description": "Indicates the language of the communitacion event details."
},
"images": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`Image categorization, ie: LOGO_WEB, IMG_BANNER_WEB, IMG_BODY_WEB.`"
},
"@order": {
"type": "number",
"description": "Indicates just the order/priority in case of same type. This number is unique."
},
"$": {
"type": "string",
"description": "Absolute path to the image file."
}
},
"required": [
"@type",
"@order",
"$"
]
},
"description": "List of related images as banners, logo's, backgrounds..."
},
"videos": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`Video categorization.`"
},
"$": {
"type": "string",
"description": "Absolute path to the video file."
}
},
"required": [
"@type",
"$"
]
},
"description": "List of related images as banners, logo's, backgrounds..."
},
"files": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`File categorization.`"
},
"$": {
"type": "string",
"description": "Absolute path to the file."
}
},
"required": [
"@type",
"$"
]
},
"description": "List of related images as banners, logo's, backgrounds..."
},
"banners": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`Banner categorization, ie: CHANNEL_PURCHASE_HEADER_BANNER, CHANNEL_PURCHASE_BANNER, PROMOTER_PURCHASE_BANNER`"
},
"imageUrl": {
"type": "string",
"description": "Absolute path to the banner image file."
},
"linkUrl": {
"type": "string",
"description": "Direct link to the promotional site just in case."
}
},
"required": [
"@type",
"imageUrl"
]
},
"description": "List of related banners to put into a website, pdf, ticket..."
}
},
"required": [
"@language"
]
},
"taxonomy": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique identifier of this product segmentation."
},
"code": {
"type": "string",
"description": "Unique identifier fo this product segmentation to be used in th API."
},
"description": {
"type": "string",
"description": "Short description to better understand the taxonomy segmentation."
},
"superior-taxonomy": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique identifier of this product segmentation."
},
"code": {
"type": "string",
"description": "Unique identifier fo this product segmentation to be used in th API."
},
"description": {
"type": "string",
"description": "Short description to better understand the taxonomy segmentation."
}
},
"required": [
"@id",
"code"
]
}
},
"required": [
"@id",
"code"
]
},
"custom-taxonomy": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique identifier of this product segmentation."
},
"code": {
"type": "string",
"description": "Unique identifier fo this product segmentation to be used in th API."
},
"description": {
"type": "string",
"description": "Short description to better understand the taxonomy segmentation."
}
},
"required": [
"@id",
"code"
]
},
"promoter-custom-taxonomy": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique identifier of this product segmentation."
},
"code": {
"type": "string",
"description": "Unique identifier fo this product segmentation to be used in th API."
},
"description": {
"type": "string",
"description": "Short description to better understand the taxonomy segmentation."
}
},
"required": [
"@id",
"code"
]
},
"languages": {
"type": "object",
"properties": {
"language": {
"type": "array",
"items": [
{},
{
"type": "string",
"enum": [
"ca_ES",
"es_ES",
"en_US",
"fr_FR",
"it_IT",
"de_DE"
]
}
],
"description": "`List of the available languages for the event descriptions.`"
}
}
},
"dates": {
"type": "object",
"properties": {
"datetime": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"enum": [
"EVENT_BEGIN",
"EVENT_END",
"SESSION_BEGIN",
"SESSION_END",
"SESSION_SALES_BEGIN",
"SESSION_SALES_END",
"PRODUCT_SALES",
"PRODUCT_SALES_END",
"SESSION_PUBLISHED",
"PROMOTION_BEGIN",
"PROMOTION_END",
"SEASON_TICKET_HOLDER_BEGIN",
"SEASON_TICKET_HOLDER_END"
],
"description": "Define the date meaning possibilites."
},
"@pendingConfirmation": {
"type": "boolean",
"description": "Says whether the date is finally commited or not."
},
"@timeZoneId": {
"type": "string",
"description": "Define the time zone worldwide from UTC."
},
"$": {
"type": "string",
"description": "XmlGregorianCalendar representation of the given date."
}
}
}
}
}
},
"entidad": {
"type": "object",
"properties": {
"@id": {
"type": "number"
},
"name": {
"type": "string",
"description": "Promotor/Organizer company name."
},
"nif": {
"type": "string",
"description": "Tax/Vat unique identifier number."
},
"email": {
"type": "string"
},
"phoneNumber": {
"type": "string"
},
"timeZone": {
"type": "string"
},
"location": {
"type": "object",
"properties": {
"address": {
"type": "string",
"description": "Venue address where the event will be performed."
},
"city": {
"type": "string",
"description": "City where the event will be performed."
},
"postalCode": {
"type": "string",
"description": "Postal code or zip code where the event will be performed."
},
"countrySubdivision": {
"type": "object",
"properties": {
"@code": {
"type": "string",
"description": "Item unique identifier."
},
"$": {
"type": "string",
"description": "Item value string."
}
},
"required": [
"@code",
"$"
],
"description": "`Country subdivision, this shall be the province, state or county. Ie: ES-T - Tarragona.`"
},
"country": {
"type": "object",
"properties": {
"@code": {
"type": "string",
"description": "Item unique identifier."
},
"$": {
"type": "string",
"description": "Item value string."
}
},
"required": [
"@code",
"$"
],
"description": "`Ie: ES - Spain.`"
},
"coordinates": {
"type": "string"
}
},
"required": [
"address",
"city",
"postalCode",
"countrySubdivision",
"country"
]
}
},
"required": [
"@id",
"name",
"nif",
"email",
"phoneNumber",
"timeZone"
]
},
"promotor": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Onebox internal unique identifier."
},
"corporateName": {
"type": "string"
},
"fiscalCode": {
"type": "string",
"description": "Tax/Vat unique identifier number."
},
"email": {
"type": "string"
},
"phoneNumber": {
"type": "string"
},
"location": {
"type": "object",
"properties": {
"address": {
"type": "string",
"description": "Venue address where the event will be performed."
},
"city": {
"type": "string",
"description": "City where the event will be performed."
},
"postalCode": {
"type": "string",
"description": "Postal code or zip code where the event will be performed."
},
"countrySubdivision": {
"type": "object",
"properties": {
"@code": {
"type": "string",
"description": "Item unique identifier."
},
"$": {
"type": "string",
"description": "Item value string."
}
},
"required": [
"@code",
"$"
],
"description": "`Country subdivision, this shall be the province, state or county. Ie: ES-T - Tarragona.`"
},
"country": {
"type": "object",
"properties": {
"@code": {
"type": "string",
"description": "Item unique identifier."
},
"$": {
"type": "string",
"description": "Item value string."
}
},
"required": [
"@code",
"$"
],
"description": "`Ie: ES - Spain.`"
},
"coordinates": {
"type": "string"
}
},
"required": [
"address",
"city",
"postalCode",
"countrySubdivision",
"country"
]
}
},
"required": [
"@id",
"corporateName",
"fiscalCode",
"email",
"phoneNumber"
]
},
"tour": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Onebox internal unique identifier."
},
"name": {
"type": "string",
"description": "Tour name."
},
"promotorReference": {
"type": "string",
"description": "Promotor reference."
}
},
"required": [
"@id",
"name",
"promotorReference"
]
},
"severalVenues": {
"type": "boolean",
"description": "Is the event performed in different venues?"
},
"severalLocations": {
"type": "boolean",
"description": "Is the event perfomed in different locations?"
},
"supraEvent": {
"type": "boolean",
"description": "Is the event a sibling from another parent event?"
},
"giftTicket": {
"type": "boolean",
"description": "Has this event free entrance tickets allowed?"
},
"nominal": {
"type": "boolean",
"description": "Has the ticket to indicate the owner name / surname / id details?"
},
"eventType": {
"type": "string",
"enum": [
"EVENT",
"ACTIVITY"
]
},
"attribute-values": {
"type": "array",
"items": {
"type": "object",
"properties": {
"attribute-info": {
"type": "object",
"properties": {
"id": {
"type": "number",
"description": "Unique identifier."
},
"name": {
"type": "string"
},
"selection": {
"type": "string",
"enum": [
"SINGLE",
"MULTIPLE"
]
},
"domain-value-info": {
"type": "array",
"items": {
"type": "object",
"properties": {
"idValue": {
"type": "number",
"description": "Unique identifier."
},
"value": {
"type": "string"
},
"referenceCode": {
"type": "string"
}
},
"required": [
"idValue",
"value",
"referenceCode"
]
}
},
"domain": {
"type": "string",
"enum": [
"EVENT",
"SESSION",
"GROUP",
"PROFILE"
]
},
"valueType": {
"type": "string",
"enum": [
"USER_INPUT_INTEGER",
"USER_INPUT_STRING",
"DOMAIN_VALUE"
]
},
"referenceCode": {
"type": "string"
}
},
"required": [
"id",
"name",
"selection",
"domain-value-info",
"domain",
"valueType",
"referenceCode"
]
},
"attribute-value": {
"type": "array",
"items": {
"type": "object",
"properties": {
"user-input-value": {
"type": "object",
"properties": {},
"description": "Unique identifier."
},
"domain-value": {
"type": "object",
"properties": {
"value": {
"type": "string"
},
"idValue": {
"type": "number"
}
},
"required": [
"value"
],
"description": "Unique identifier."
}
}
}
},
"idAttribute": {
"type": "number"
},
"description": {
"type": "string"
}
},
"required": [
"attribute-info",
"attribute-value"
]
}
},
"passbookPreferences": {
"type": [
"object",
"null"
],
"properties": {
"communication-elements": {
"type": "object",
"properties": {
"@language": {
"type": "string",
"description": "Indicates the language of the communitacion event details."
},
"images": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`Image categorization, ie: LOGO_WEB, IMG_BANNER_WEB, IMG_BODY_WEB.`"
},
"@order": {
"type": "number",
"description": "Indicates just the order/priority in case of same type. This number is unique."
},
"$": {
"type": "string",
"description": "Absolute path to the image file."
}
},
"required": [
"@type",
"@order",
"$"
]
},
"description": "List of related images as banners, logo's, backgrounds..."
},
"videos": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`Video categorization.`"
},
"$": {
"type": "string",
"description": "Absolute path to the video file."
}
},
"required": [
"@type",
"$"
]
},
"description": "List of related images as banners, logo's, backgrounds..."
},
"files": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`File categorization.`"
},
"$": {
"type": "string",
"description": "Absolute path to the file."
}
},
"required": [
"@type",
"$"
]
},
"description": "List of related images as banners, logo's, backgrounds..."
},
"banners": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`Banner categorization, ie: CHANNEL_PURCHASE_HEADER_BANNER, CHANNEL_PURCHASE_BANNER, PROMOTER_PURCHASE_BANNER`"
},
"imageUrl": {
"type": "string",
"description": "Absolute path to the banner image file."
},
"linkUrl": {
"type": "string",
"description": "Direct link to the promotional site just in case."
}
},
"required": [
"@type",
"imageUrl"
]
},
"description": "List of related banners to put into a website, pdf, ticket..."
}
},
"required": [
"@language"
]
},
"textColor": {
"type": "string"
},
"labelColor": {
"type": "string"
},
"backgroundColor": {
"type": "string"
}
}
},
"clientEventDiscount": {
"type": "object",
"properties": {
"discountType": {
"type": "string",
"enum": [
"AMOUNT",
"PERCENT"
]
},
"discount": {
"type": "number"
}
},
"required": [
"discountType"
]
}
},
"required": [
"@id",
"internalName",
"externalReferenceCode",
"title",
"subtitle",
"shortDescription",
"longDescription",
"additionalEventData",
"duration",
"severalVenues",
"severalLocations",
"supraEvent",
"giftTicket",
"nominal",
"eventType",
"passbookPreferences"
]
},
"automatic": {
"type": "string",
"description": "promotion (OrderAutomaticPromotionType)"
},
"promotion": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique identifier."
},
"activator": {
"type": "string"
},
"promotionComElements": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"description": {
"type": "string"
}
}
}
},
"required": [
"@id"
]
},
"discount": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique identifier."
},
"activator": {
"type": "string"
},
"promotionComElements": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"description": {
"type": "string"
}
}
}
},
"required": [
"@id"
]
},
"productAcquisitionType": {
"type": "string",
"enum": [
"GENERAL",
"INVITATION"
]
}
},
"required": [
"venue",
"product-info",
"sku",
"session-basic-info",
"event-basic-info",
"productAcquisitionType"
]
},
"price-breakdown": {
"type": "object",
"properties": {
"base-price": {
"type": "number"
},
"automatic-promotion": {
"type": "number"
},
"manual-promotion": {
"type": "number"
},
"manual-discount": {
"type": "number"
},
"client-discount": {
"type": "number"
},
"client-comission": {
"type": "number"
},
"charges": {
"type": "object",
"properties": {
"charge": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"enum": [
"CHANNEL_CHARGE",
"PROMOTER_CHARGE",
"PROMOTER_CHANNEL_CHARGE"
]
},
"value 1.5": {
"type": "number",
"description": "Value of the charge."
}
},
"required": [
"value 1.5"
]
}
}
},
"required": [
"charge"
]
},
"delivery-costs": {
"type": "number"
},
"insurance": {
"type": "number"
},
"taxes": {
"type": "object",
"properties": {
"tax": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique product identifier."
},
"value": {
"type": "number"
}
},
"required": [
"@id",
"value"
]
}
}
},
"required": [
"tax"
]
},
"final-price": {
"type": "number"
}
},
"required": [
"base-price",
"final-price"
]
},
"bookingIssueStatus": {
"type": "string",
"enum": [
"PENDING",
"SOLD",
"REFUNDED",
"EXPIRED"
]
},
"$": {
"type": "string"
},
"operationsAllowed": {
"type": "object",
"properties": {
"printInvoice": {
"type": "boolean"
}
},
"required": [
"printInvoice"
]
},
"productId": {
"type": "number"
},
"itemWarning": {
"type": "array"
},
"attendant": {
"type": "object",
"properties": {
"field": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@name": {
"type": "string"
},
"@value": {
"type": "string"
}
},
"required": [
"@name",
"@value"
]
}
},
"clientDiscount": {
"type": "object",
"properties": {
"@value": {
"type": "number"
},
"type": {
"type": "string",
"enum": [
"AMOUNT",
"PERCENT"
]
}
},
"required": [
"@value",
"type"
]
},
"clientCommission": {
"type": "object",
"properties": {
"@value": {
"type": "number"
},
"type": {
"type": "string",
"enum": [
"AMOUNT",
"PERCENT"
]
}
},
"required": [
"@value",
"type"
]
}
},
"required": [
"field",
"clientDiscount",
"clientCommission"
]
},
"clientConditions": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique client conditions identifier."
}
},
"required": [
"@id"
]
},
"@relatedRefundOrderCode": {
"type": "string"
},
"@relatedBookingIssueOrderCode": {
"type": "string"
},
"@relatedBookingIssueOrderType": {
"type": "string",
"enum": [
"PURCHASE",
"BOOKING",
"ISSUE",
"REFUND"
]
},
"originalBookingOrderCode": {
"type": "string"
}
},
"required": [
"@id",
"@type"
]
}
},
"delivery-method": {
"type": "number"
},
"insurance": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique insurance identifier."
},
"name": {
"type": "string"
},
"description": {
"type": "string"
},
"privacyPolicy": {
"type": "string"
},
"termsOfUse": {
"type": "string"
},
"additionalData": {
"type": "string"
}
},
"required": [
"@id",
"name",
"description",
"privacyPolicy",
"termsOfUse",
"additionalData"
]
},
"price-breakdown": {
"type": "object",
"properties": {
"base-price": {
"type": "number"
},
"automatic-promotion": {
"type": "number"
},
"manual-promotion": {
"type": "number"
},
"manual-discount": {
"type": "number"
},
"client-discount": {
"type": "number"
},
"client-comission": {
"type": "number"
},
"charges": {
"type": "object",
"properties": {
"charge": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"enum": [
"CHANNEL_CHARGE",
"PROMOTER_CHARGE",
"PROMOTER_CHANNEL_CHARGE"
]
},
"value 1.5": {
"type": "number",
"description": "Value of the charge."
}
},
"required": [
"value 1.5"
]
}
}
},
"required": [
"charge"
]
},
"delivery-costs": {
"type": "number"
},
"insurance": {
"type": "number"
},
"taxes": {
"type": "object",
"properties": {
"tax": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique product identifier."
},
"value": {
"type": "number"
}
},
"required": [
"@id",
"value"
]
}
}
},
"required": [
"tax"
]
},
"final-price": {
"type": "number"
}
},
"required": [
"base-price",
"final-price"
]
},
"payments": {
"type": "object",
"properties": {
"payment": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "number",
"description": "Unique payment identifier."
},
"type": {
"type": "string",
"enum": [
"CREDIT_CARD",
"CASH",
"BANK_TRANSFER",
"OTHER",
"CLIENT_BALANCE"
]
},
"value": {
"type": "number"
},
"externalReference": {
"type": "string"
},
"isAdvance": {
"type": "boolean"
},
"lastCreditCardDigits": {
"type": "string"
},
"creditCardType": {
"type": "string",
"enum": [
"MASTERCARD",
"VISA",
"VISA_ELECTRON",
"AMERICAN_EXPRESS",
"OTHER"
]
},
"paymentDate": {
"type": "string"
},
"transferDate": {
"type": "string"
}
},
"required": [
"id",
"type",
"value",
"paymentDate",
"transferDate"
]
}
}
}
},
"toBePaid": {
"type": "number"
},
"pending": {
"type": "number"
},
"suspectFraud": {
"type": "boolean"
},
"channel": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique channel identifier."
},
"name": {
"type": "string"
},
"type": {
"type": "string",
"enum": [
"BOXOFFICE",
"PORTAL",
"EXTERNAL"
]
},
"subType": {
"type": "string",
"enum": [
"WEB",
"MOBILE",
"BOXOFFICE"
]
}
},
"required": [
"@id",
"name",
"type",
"subType"
]
},
"orderDate": {
"type": "string"
},
"requestedPaymentReference": {
"type": "string"
},
"additionalChannelCommissions": {
"type": "number"
},
"visitorGroup": {
"type": "array"
},
"notes": {
"type": "string"
},
"invoiceData": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"fiscalCode": {
"type": "string"
},
"fiscalCodeValidated": {
"type": "boolean"
},
"address": {
"type": "string"
},
"postalCode": {
"type": "string"
},
"city": {
"type": "string"
},
"$": {
"type": "string"
},
"language": {
"type": "string"
},
"notes": {
"type": "string"
}
},
"required": [
"name",
"fiscalCode",
"fiscalCodeValidated",
"address",
"postalCode",
"city",
"$",
"language",
"notes"
]
},
"platformClient": {
"type": "object",
"properties": {
"id": {
"type": "number",
"description": "Unique platform client identifier."
},
"name": {
"type": "string"
},
"location": {
"type": "object",
"properties": {
"address": {
"type": "string",
"description": "Venue address where the event will be performed."
},
"city": {
"type": "string",
"description": "City where the event will be performed."
},
"postalCode": {
"type": "string",
"description": "Postal code or zip code where the event will be performed."
},
"countrySubdivision": {
"type": "object",
"properties": {
"@code": {
"type": "string",
"description": "Item unique identifier."
},
"$": {
"type": "string",
"description": "Item value string."
}
},
"required": [
"@code",
"$"
],
"description": "`Country subdivision, this shall be the province, state or county. Ie: ES-T - Tarragona.`"
},
"country": {
"type": "object",
"properties": {
"@code": {
"type": "string",
"description": "Item unique identifier."
},
"$": {
"type": "string",
"description": "Item value string."
}
},
"required": [
"@code",
"$"
],
"description": "`Ie: ES - Spain.`"
},
"coordinates": {
"type": "string"
}
},
"required": [
"address",
"city",
"postalCode",
"countrySubdivision",
"country"
]
},
"clientB2B": {
"type": "object",
"properties": {
"businessName": {
"type": "string"
},
"description": {
"type": "string"
},
"iataCode": {
"type": "string"
},
"taxId": {
"type": "string"
},
"tags": {
"type": "string"
},
"clientB2BBranch": {
"type": "object",
"properties": {
"location": {
"type": "object",
"properties": {
"address": {
"type": "string",
"description": "Venue address where the event will be performed."
},
"city": {
"type": "string",
"description": "City where the event will be performed."
},
"postalCode": {
"type": "string",
"description": "Postal code or zip code where the event will be performed."
},
"countrySubdivision": {
"type": "object",
"properties": {
"@code": {
"type": "string",
"description": "Item unique identifier."
},
"$": {
"type": "string",
"description": "Item value string."
}
},
"required": [
"@code",
"$"
],
"description": "`Country subdivision, this shall be the province, state or county. Ie: ES-T - Tarragona.`"
},
"country": {
"type": "object",
"properties": {
"@code": {
"type": "string",
"description": "Item unique identifier."
},
"$": {
"type": "string",
"description": "Item value string."
}
},
"required": [
"@code",
"$"
],
"description": "`Ie: ES - Spain.`"
},
"coordinates": {
"type": "string"
}
},
"required": [
"address",
"city",
"postalCode",
"countrySubdivision",
"country"
]
},
"contactName": {
"type": "string"
},
"contactEmail": {
"type": "string"
},
"contactPhone": {
"type": "string"
},
"@main": {
"type": "boolean"
}
},
"required": [
"location",
"contactName",
"contactEmail",
"contactPhone",
"@main"
]
},
"user": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique user identifier."
},
"name": {
"type": "string"
},
"email": {
"type": "string"
},
"username": {
"type": "string"
}
},
"required": [
"@id",
"name",
"email",
"username"
]
},
"@category": {
"type": "number"
}
},
"required": [
"businessName",
"description",
"iataCode",
"taxId",
"tags",
"clientB2BBranch",
"user"
]
},
"type": {
"type": "string",
"enum": [
"B2B",
"B2C"
]
}
},
"required": [
"id",
"name"
]
},
"@currency": {
"type": "string"
},
"@orderCode": {
"type": "string"
},
"@status": {
"type": "string",
"enum": [
"PRE_ORDER",
"CONFIRMED",
"PAID",
"CANCELLED",
"EXPIRED"
]
},
"@type": {
"type": "string",
"enum": [
"PURCHASE",
"BOOKING",
"ISSUE",
"REFUND"
]
},
"@preOrderTimeLeft": {
"type": "number"
}
},
"required": [
"client",
"order-item",
"insurance",
"toBePaid",
"pending",
"channel",
"notes",
"invoiceData",
"platformClient",
"@currency",
"@orderCode",
"@status",
"@type"
]
}Headers
Content-Type: application/json;charset=UTF-8Body
{
"error": "Bad request",
"error_description": "There was a syntax error, check your params request and try it again."
}Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"error": {
"type": "string",
"description": "Short http error code description"
},
"error_description": {
"type": "string",
"description": "Detailed description of the error returned."
}
},
"required": [
"error",
"error_description"
]
}Headers
Content-Type: application/json;charset=UTF-8Body
{
"error": "Unauthorized",
"error_description": "Full authentication is required to access this resource"
}Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"error": {
"type": "string",
"description": "Short http error code description."
},
"error_description": {
"type": "string",
"description": "Detailed description of the error returned."
}
},
"required": [
"error",
"error_description"
]
}Headers
Content-Type: application/json;charset=UTF-8Body
{
"statusCode": 1010,
"responseTime": "08-03-2017 13:46:03.657"
}Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"statusCode": {
"type": "number",
"description": "This is the Onebox error codes. Get the full list here: [go to Onebox error responses](http://developer.oneboxtickets.com/httpresponsecodes.html)"
},
"responseTime": {
"type": "string"
}
},
"required": [
"statusCode",
"responseTime"
]
}Create a new orderPOST/order/createOrder{?token,orderType,items,itemsChannelCharges,notes,skipClientValidations}
Use this service to create a new order from a given shopping cart token id. This will increase the seats lock time up to 45 minutes.
- token
string(required) Example: 188a5cf2a844e684375172cb1cf2bbf3- orderType
string(required) Example: PURCHASEChoices:
PURCHASE- items
array[number](optional) Example: 123- itemsChannelCharges
ItemsChannelChargesType(optional)Items channel charges, for external charges.
- notes
string(optional) Example: A note- skipClientValidations
boolean(optional)Indicate if skip client validations. False by default if not specified.
Confirm an Order ¶
Headers
Authorization: Bearer [ACCESS_TOKEN]
Content-Type: application/json
Accept: application/json- Headers
traceID:
String: Unique id to identify the transaction within the Onebox API audit systemOB_Error_Code:Number: This is the Onebox error codes. Get the full list here: [go to Onebox error responses](http://developer.oneboxtickets.com/httpresponsecodes.html)
Headers
Content-Type: application/json;charset=UTF-8Body
{
"client": {
"@id": 123,
"name": "First name",
"lastname": "Last name",
"$": "1970-01-01",
"email": "email@domain.com",
"receiptMail": "email@domain.com",
"ticketMail": "email@domain.com",
"phone": "0034 555 55 55",
"identification": {
"value": "",
"@type": ""
},
"gender": "NOT_DEFINED",
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
},
"profile-data": {
"@`profile-id`": 123,
"profile-field": [
{
"@`field-id`": 123,
"idValue": [],
"user-input-value": []
}
]
},
"language": {
"value": "",
"@code": ""
},
"groupValidation": [
{
"@idGroup": 123,
"user": "",
"promotionalCode": "",
"externalProperties": {}
}
]
},
"operationsOrderAllowed": {
"printInvoice": false
},
"order-item": [
{
"@id": 123,
"@type": "TICKET",
"ticket-data": {
"notNumberedAreaName": "",
"numSeat": "",
"rowName": "",
"sectorName": "",
"printouts": 0,
"cancellations": 0,
"barcode": "",
"status": "PURCHASED",
"accessibility": "NORMAL",
"visibility": "NORMAL",
"customer": {
"@id": 123,
"name": "First name",
"lastname": "Last name",
"$": "1970-01-01",
"email": "email@domain.com",
"receiptMail": "email@domain.com",
"ticketMail": "email@domain.com",
"phone": "0034 555 55 55",
"identification": {
"value": "",
"@type": ""
},
"gender": "NOT_DEFINED",
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
},
"profile-data": {
"@`profile-id`": 123,
"profile-field": [
{
"@`field-id`": 123,
"idValue": [],
"user-input-value": []
}
]
},
"language": {
"value": "",
"@code": ""
},
"groupValidation": [
{
"@idGroup": 123,
"user": "",
"promotionalCode": "",
"externalProperties": {}
}
]
},
"session-basic-info": {
"@id": 5553432,
"internalName": "7 days 1 park",
"name": "7 days 1 park",
"description": "<P ALIGN=\\\"LEFT\\\">Six amazing worlds in just one Park, perfect for having fun in family and frends as well.</P>",
"dates": {
"datetime": [
{
"@type": "EVENT_BEGIN",
"@pendingConfirmation": false,
"@timeZoneId": "Europe/Berlin",
"$": "2018-01-07T19:00:00.000+01:00"
}
]
},
"venue": {
"@id": 432432,
"@name": "World Park",
"@timeZone": "Europe/Berlin",
"communication-elements": {
"@language": "en_US",
"images": [
{
"@type": "LOGO_WEB",
"@order": 1,
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"videos": [
{
"@type": "VIDEO",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"files": [
{
"@type": "FILE",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"banners": [
{
"@type": "CHANNEL_PURCHASE_HEADER_BANNER",
"imageUrl": "https://s3.amazonaws.com/onebox-repository/pro/1/1/itemIdioma/1741/1_image_1340695930723.jpg",
"linkUrl": "http://www.website.com/channel_id"
}
]
},
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
}
},
"space": {
"id": 150,
"name": "SPACE"
},
"event-basic-info": {
"@id": 23454,
"internalName": "7 days 1 park",
"externalReferenceCode": "EXT-123",
"title": "Theme Park",
"subtitle": "¡Discover the 6 worlds adrenaline!",
"shortDescription": "<P ALIGN=\\\"LEFT\\\">Six amazing worlds in just one Park, perfect for having fun in family and frends as well.</P>",
"longDescription": "<P ALIGN=\\\"LEFT\\\">Explore a whole world of fun and know our amazing theme parks. An ideal destination for a family getaway, located in one of the best tourist areas of Spain and just an hour from Barcelona! </ P> <BR/> <P ALIGN = \\ \"LEFT \\\"> The best entertainment, relaxation, gastronomy and shopping you can imagine. > A DESTINY AND SIX WORLDS TO DISCOVER </ P> <P ALIGN = \\ \"LEFT \\\"> Here begins a journey that takes you much further than you can imagine. At the Park we look forward to six fascinating worlds completely different, with a careful decoration to the last detail, so that you enjoy to the maximum. Emotions for all tastes. Families, friends, big and small: in our theme park, all the fun.</P>",
"additionalEventData": "",
"duration": "",
"communication-elements": {
"@language": "en_US",
"images": [
{
"@type": "LOGO_WEB",
"@order": 1,
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"videos": [
{
"@type": "VIDEO",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"files": [
{
"@type": "FILE",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"banners": [
{
"@type": "CHANNEL_PURCHASE_HEADER_BANNER",
"imageUrl": "https://s3.amazonaws.com/onebox-repository/pro/1/1/itemIdioma/1741/1_image_1340695930723.jpg",
"linkUrl": "http://www.website.com/channel_id"
}
]
},
"taxonomy": {
"@id": 68,
"code": "APRTEM",
"description": "Theme Parks",
"superior-taxonomy": {
"@id": 68,
"code": "APRTEM",
"description": "Theme Parks"
}
},
"custom-taxonomy": {
"@id": 68,
"code": "APRTEM",
"description": "Theme Parks"
},
"promoter-custom-taxonomy": {
"@id": 68,
"code": "APRTEM",
"description": "Theme Parks"
},
"languages": {
"language": [
"",
"ca_ES"
]
},
"dates": {
"datetime": [
{
"@type": "EVENT_BEGIN",
"@pendingConfirmation": false,
"@timeZoneId": "Europe/Berlin",
"$": "2018-01-07T19:00:00.000+01:00"
}
]
},
"entidad": {
"@id": 123,
"name": "Theme Park",
"nif": "A54343234",
"email": "info@theme.park",
"phoneNumber": "0034 555 55 55",
"timeZone": "Europe/Madrid",
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
}
},
"promotor": {
"@id": 475,
"corporateName": "Theme Park Entertainment SA.",
"fiscalCode": "A53776307",
"email": "info@theme.park",
"phoneNumber": "0034 555 55 55",
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
}
},
"tour": {
"@id": 475,
"name": "Theme Park",
"promotorReference": "Theme Park Entertainment SA."
},
"severalVenues": false,
"severalLocations": false,
"supraEvent": false,
"giftTicket": false,
"nominal": false,
"eventType": "EVENT",
"attribute-values": [
{
"attribute-info": {
"id": 0,
"name": "",
"selection": "SINGLE",
"domain-value-info": [
{
"idValue": 10,
"value": "oneboxtm",
"referenceCode": "OB"
}
],
"domain": "EVENT",
"valueType": "DOMAIN_VALUE",
"referenceCode": "Attr"
},
"attribute-value": [
{
"user-input-value": {},
"domain-value": {
"value": "``",
"idValue": 30
}
}
],
"idAttribute": 50,
"description": "DESCRIPTION"
}
],
"passbookPreferences": {
"communication-elements": {
"@language": "en_US",
"images": [
{
"@type": "LOGO_WEB",
"@order": 1,
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"videos": [
{
"@type": "VIDEO",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"files": [
{
"@type": "FILE",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"banners": [
{
"@type": "CHANNEL_PURCHASE_HEADER_BANNER",
"imageUrl": "https://s3.amazonaws.com/onebox-repository/pro/1/1/itemIdioma/1741/1_image_1340695930723.jpg",
"linkUrl": "http://www.website.com/channel_id"
}
]
}
},
"clientEventDiscount": {
"discountType": "AMOUNT"
}
},
"forSale": true,
"blockingReasons": "",
"hasProducts": false,
"admission": "ALL_AGES_ADMITTED",
"supportedEventType": "EVENT",
"supportedVisitorType": "INDIVIDUAL",
"attribute-values": [
{
"attribute-info": {
"id": 0,
"name": "",
"selection": "SINGLE",
"domain-value-info": [
{
"idValue": 10,
"value": "oneboxtm",
"referenceCode": "OB"
}
],
"domain": "EVENT",
"valueType": "DOMAIN_VALUE",
"referenceCode": "Attr"
},
"attribute-value": [
{
"user-input-value": {},
"domain-value": {
"value": "``",
"idValue": 30
}
}
],
"idAttribute": 50,
"description": "DESCRIPTION"
}
],
"visitorGroupConfig": "",
"hideSessionDates": false,
"showDate": false,
"showDatetime": false,
"@rates": "7 days 1 park UK/PAP17",
"season-session-info": {
"beginDate": "2015-09-01T12:00:00+01:00",
"endDate": "2015-10-01T12:00:00+01:00",
"idsSeasonSessions": [],
"seasonSessions": {
"@id": 5553432,
"internalName": "7 days 1 park",
"name": "7 days 1 park",
"description": "<P ALIGN=\\\"LEFT\\\">Six amazing worlds in just one Park, perfect for having fun in family and frends as well.</P>",
"dates": {
"datetime": [
{
"@type": "EVENT_BEGIN",
"@pendingConfirmation": false,
"@timeZoneId": "Europe/Berlin",
"$": "2018-01-07T19:00:00.000+01:00"
}
]
},
"venue": {
"@id": 432432,
"@name": "World Park",
"@timeZone": "Europe/Berlin",
"communication-elements": {
"@language": "en_US",
"images": [
{
"@type": "LOGO_WEB",
"@order": 1,
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"videos": [
{
"@type": "VIDEO",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"files": [
{
"@type": "FILE",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"banners": [
{
"@type": "CHANNEL_PURCHASE_HEADER_BANNER",
"imageUrl": "https://s3.amazonaws.com/onebox-repository/pro/1/1/itemIdioma/1741/1_image_1340695930723.jpg",
"linkUrl": "http://www.website.com/channel_id"
}
]
},
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
}
},
"space": {
"id": 150,
"name": "SPACE"
},
"event-basic-info": {
"@id": 23454,
"internalName": "7 days 1 park",
"externalReferenceCode": "EXT-123",
"title": "Theme Park",
"subtitle": "¡Discover the 6 worlds adrenaline!",
"shortDescription": "<P ALIGN=\\\"LEFT\\\">Six amazing worlds in just one Park, perfect for having fun in family and frends as well.</P>",
"longDescription": "<P ALIGN=\\\"LEFT\\\">Explore a whole world of fun and know our amazing theme parks. An ideal destination for a family getaway, located in one of the best tourist areas of Spain and just an hour from Barcelona! </ P> <BR/> <P ALIGN = \\ \"LEFT \\\"> The best entertainment, relaxation, gastronomy and shopping you can imagine. > A DESTINY AND SIX WORLDS TO DISCOVER </ P> <P ALIGN = \\ \"LEFT \\\"> Here begins a journey that takes you much further than you can imagine. At the Park we look forward to six fascinating worlds completely different, with a careful decoration to the last detail, so that you enjoy to the maximum. Emotions for all tastes. Families, friends, big and small: in our theme park, all the fun.</P>",
"additionalEventData": "",
"duration": "",
"communication-elements": {
"@language": "en_US",
"images": [
{
"@type": "LOGO_WEB",
"@order": 1,
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"videos": [
{
"@type": "VIDEO",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"files": [
{
"@type": "FILE",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"banners": [
{
"@type": "CHANNEL_PURCHASE_HEADER_BANNER",
"imageUrl": "https://s3.amazonaws.com/onebox-repository/pro/1/1/itemIdioma/1741/1_image_1340695930723.jpg",
"linkUrl": "http://www.website.com/channel_id"
}
]
},
"taxonomy": {
"@id": 68,
"code": "APRTEM",
"description": "Theme Parks",
"superior-taxonomy": {
"@id": 68,
"code": "APRTEM",
"description": "Theme Parks"
}
},
"custom-taxonomy": {
"@id": 68,
"code": "APRTEM",
"description": "Theme Parks"
},
"promoter-custom-taxonomy": {
"@id": 68,
"code": "APRTEM",
"description": "Theme Parks"
},
"languages": {
"language": [
"",
"ca_ES"
]
},
"dates": {
"datetime": [
{
"@type": "EVENT_BEGIN",
"@pendingConfirmation": false,
"@timeZoneId": "Europe/Berlin",
"$": "2018-01-07T19:00:00.000+01:00"
}
]
},
"entidad": {
"@id": 123,
"name": "Theme Park",
"nif": "A54343234",
"email": "info@theme.park",
"phoneNumber": "0034 555 55 55",
"timeZone": "Europe/Madrid",
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
}
},
"promotor": {
"@id": 475,
"corporateName": "Theme Park Entertainment SA.",
"fiscalCode": "A53776307",
"email": "info@theme.park",
"phoneNumber": "0034 555 55 55",
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
}
},
"tour": {
"@id": 475,
"name": "Theme Park",
"promotorReference": "Theme Park Entertainment SA."
},
"severalVenues": false,
"severalLocations": false,
"supraEvent": false,
"giftTicket": false,
"nominal": false,
"eventType": "EVENT",
"attribute-values": [
{
"attribute-info": {
"id": 0,
"name": "",
"selection": "SINGLE",
"domain-value-info": [
{
"idValue": 10,
"value": "oneboxtm",
"referenceCode": "OB"
}
],
"domain": "EVENT",
"valueType": "DOMAIN_VALUE",
"referenceCode": "Attr"
},
"attribute-value": [
{
"user-input-value": {},
"domain-value": {
"value": "``",
"idValue": 30
}
}
],
"idAttribute": 50,
"description": "DESCRIPTION"
}
],
"passbookPreferences": {
"communication-elements": {
"@language": "en_US",
"images": [
{
"@type": "LOGO_WEB",
"@order": 1,
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"videos": [
{
"@type": "VIDEO",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"files": [
{
"@type": "FILE",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"banners": [
{
"@type": "CHANNEL_PURCHASE_HEADER_BANNER",
"imageUrl": "https://s3.amazonaws.com/onebox-repository/pro/1/1/itemIdioma/1741/1_image_1340695930723.jpg",
"linkUrl": "http://www.website.com/channel_id"
}
]
}
},
"clientEventDiscount": {
"discountType": "AMOUNT"
}
},
"forSale": true,
"blockingReasons": "",
"hasProducts": false,
"admission": "ALL_AGES_ADMITTED",
"supportedEventType": "EVENT",
"supportedVisitorType": "INDIVIDUAL",
"attribute-values": [
{
"attribute-info": {
"id": 0,
"name": "",
"selection": "SINGLE",
"domain-value-info": [
{
"idValue": 10,
"value": "oneboxtm",
"referenceCode": "OB"
}
],
"domain": "EVENT",
"valueType": "DOMAIN_VALUE",
"referenceCode": "Attr"
},
"attribute-value": [
{
"user-input-value": {},
"domain-value": {
"value": "``",
"idValue": 30
}
}
],
"idAttribute": 50,
"description": "DESCRIPTION"
}
],
"visitorGroupConfig": "",
"hideSessionDates": false,
"showDate": false,
"showDatetime": false,
"@rates": "7 days 1 park UK/PAP17",
"season-session-info": {}
},
"@isSeasonSession": 0
}
},
"automatic-promotion": {
"@id": 10,
"promotionComElements": {
"name": "NAME",
"description": "DESCRIPTION"
}
},
"promotion": {
"@id": 10,
"activator": "",
"promotionComElements": {
"name": "NAME",
"description": "DESCRIPTION"
}
},
"discount": {
"@id": 10,
"activator": "",
"promotionComElements": {
"name": "NAME",
"description": "DESCRIPTION"
}
},
"viewId": 0,
"notNumberedAreaId": 0,
"sectorId": 0,
"priceZoneId": 0,
"access": "",
"idTicketActivityType": 0,
"nameTicketActivityType": "",
"externalData": {
"access": "",
"gate": "",
"entrance": "",
"zone": ""
},
"idVisitorGroup": 0,
"visitorGroupNumAttendantsVariation": 0,
"visitorGroupNumAccompanistsVariation": 0,
"@seatType": "NUMBERED",
"@ticketType": "GENERAL"
},
"product-data": {
"venue": {
"@id": 432432,
"@name": "World Park",
"@timeZone": "Europe/Berlin",
"communication-elements": {
"@language": "en_US",
"images": [
{
"@type": "LOGO_WEB",
"@order": 1,
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"videos": [
{
"@type": "VIDEO",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"files": [
{
"@type": "FILE",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"banners": [
{
"@type": "CHANNEL_PURCHASE_HEADER_BANNER",
"imageUrl": "https://s3.amazonaws.com/onebox-repository/pro/1/1/itemIdioma/1741/1_image_1340695930723.jpg",
"linkUrl": "http://www.website.com/channel_id"
}
]
},
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
}
},
"product-info": {
"@id": 10,
"internalName": "",
"name": "",
"dates": {
"datetime": [
{
"@type": "EVENT_BEGIN",
"@pendingConfirmation": false,
"@timeZoneId": "Europe/Berlin",
"$": "2018-01-07T19:00:00.000+01:00"
}
]
},
"venue": {
"@id": 432432,
"@name": "World Park",
"@timeZone": "Europe/Berlin",
"communication-elements": {
"@language": "en_US",
"images": [
{
"@type": "LOGO_WEB",
"@order": 1,
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"videos": [
{
"@type": "VIDEO",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"files": [
{
"@type": "FILE",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"banners": [
{
"@type": "CHANNEL_PURCHASE_HEADER_BANNER",
"imageUrl": "https://s3.amazonaws.com/onebox-repository/pro/1/1/itemIdioma/1741/1_image_1340695930723.jpg",
"linkUrl": "http://www.website.com/channel_id"
}
]
},
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
}
},
"catalog-info": {
"entityId": 0,
"name": ""
},
"attributes": {
"attribute": [
{
"@id": 10,
"name": ""
}
]
},
"product-image": [],
"forSale": false,
"bookable": false,
"product-variant": [
{
"id": 10,
"sku": "",
"price-breakdown": {
"base-price": 10,
"automatic-promotion": 0,
"manual-promotion": 0,
"manual-discount": 0,
"client-discount": 0,
"client-comission": 0,
"charges": {
"charge": [
{
"@type": "CHANNEL_CHARGE",
"value 1.5": 0
}
]
},
"delivery-costs": 0,
"insurance": 0,
"taxes": {
"tax": [
{
"@id": 10,
"value": 0
}
]
},
"final-price": 20
},
"limited-stock": false,
"variant-availability": 0,
"variant-attributes": {
"variant-attribute": [
{
"attribute": {
"@id": 10,
"name": ""
},
"value": ""
}
]
},
"venue": {
"@id": 432432,
"@name": "World Park",
"@timeZone": "Europe/Berlin",
"communication-elements": {
"@language": "en_US",
"images": [
{
"@type": "LOGO_WEB",
"@order": 1,
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"videos": [
{
"@type": "VIDEO",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"files": [
{
"@type": "FILE",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"banners": [
{
"@type": "CHANNEL_PURCHASE_HEADER_BANNER",
"imageUrl": "https://s3.amazonaws.com/onebox-repository/pro/1/1/itemIdioma/1741/1_image_1340695930723.jpg",
"linkUrl": "http://www.website.com/channel_id"
}
]
},
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
}
},
"catalog-info": {
"entityId": 0,
"name": ""
},
"product-info": {
"@id": 10,
"internalName": "",
"name": "",
"dates": {
"datetime": [
{
"@type": "EVENT_BEGIN",
"@pendingConfirmation": false,
"@timeZoneId": "Europe/Berlin",
"$": "2018-01-07T19:00:00.000+01:00"
}
]
},
"venue": {
"@id": 432432,
"@name": "World Park",
"@timeZone": "Europe/Berlin",
"communication-elements": {
"@language": "en_US",
"images": [
{
"@type": "LOGO_WEB",
"@order": 1,
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"videos": [
{
"@type": "VIDEO",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"files": [
{
"@type": "FILE",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"banners": [
{
"@type": "CHANNEL_PURCHASE_HEADER_BANNER",
"imageUrl": "https://s3.amazonaws.com/onebox-repository/pro/1/1/itemIdioma/1741/1_image_1340695930723.jpg",
"linkUrl": "http://www.website.com/channel_id"
}
]
},
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
}
},
"catalog-info": {
"entityId": 0,
"name": ""
},
"attributes": {
"attribute": [
{
"@id": 10,
"name": ""
}
]
},
"product-image": [],
"forSale": false,
"bookable": false,
"product-variant": []
}
}
]
},
"variant-attributes": {
"variant-attribute": [
{
"attribute": {
"@id": 10,
"name": ""
},
"value": ""
}
]
},
"printouts": 0,
"cancellations": 0,
"status": "PURCHASED",
"sku": "",
"customer": {
"@id": 123,
"name": "First name",
"lastname": "Last name",
"$": "1970-01-01",
"email": "email@domain.com",
"receiptMail": "email@domain.com",
"ticketMail": "email@domain.com",
"phone": "0034 555 55 55",
"identification": {
"value": "",
"@type": ""
},
"gender": "NOT_DEFINED",
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
},
"profile-data": {
"@`profile-id`": 123,
"profile-field": [
{
"@`field-id`": 123,
"idValue": [],
"user-input-value": []
}
]
},
"language": {
"value": "",
"@code": ""
},
"groupValidation": [
{
"@idGroup": 123,
"user": "",
"promotionalCode": "",
"externalProperties": {}
}
]
},
"session-basic-info": {
"@id": 5553432,
"internalName": "7 days 1 park",
"name": "7 days 1 park",
"description": "<P ALIGN=\\\"LEFT\\\">Six amazing worlds in just one Park, perfect for having fun in family and frends as well.</P>",
"dates": {
"datetime": [
{
"@type": "EVENT_BEGIN",
"@pendingConfirmation": false,
"@timeZoneId": "Europe/Berlin",
"$": "2018-01-07T19:00:00.000+01:00"
}
]
},
"venue": {
"@id": 432432,
"@name": "World Park",
"@timeZone": "Europe/Berlin",
"communication-elements": {
"@language": "en_US",
"images": [
{
"@type": "LOGO_WEB",
"@order": 1,
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"videos": [
{
"@type": "VIDEO",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"files": [
{
"@type": "FILE",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"banners": [
{
"@type": "CHANNEL_PURCHASE_HEADER_BANNER",
"imageUrl": "https://s3.amazonaws.com/onebox-repository/pro/1/1/itemIdioma/1741/1_image_1340695930723.jpg",
"linkUrl": "http://www.website.com/channel_id"
}
]
},
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
}
},
"space": {
"id": 150,
"name": "SPACE"
},
"event-basic-info": {
"@id": 23454,
"internalName": "7 days 1 park",
"externalReferenceCode": "EXT-123",
"title": "Theme Park",
"subtitle": "¡Discover the 6 worlds adrenaline!",
"shortDescription": "<P ALIGN=\\\"LEFT\\\">Six amazing worlds in just one Park, perfect for having fun in family and frends as well.</P>",
"longDescription": "<P ALIGN=\\\"LEFT\\\">Explore a whole world of fun and know our amazing theme parks. An ideal destination for a family getaway, located in one of the best tourist areas of Spain and just an hour from Barcelona! </ P> <BR/> <P ALIGN = \\ \"LEFT \\\"> The best entertainment, relaxation, gastronomy and shopping you can imagine. > A DESTINY AND SIX WORLDS TO DISCOVER </ P> <P ALIGN = \\ \"LEFT \\\"> Here begins a journey that takes you much further than you can imagine. At the Park we look forward to six fascinating worlds completely different, with a careful decoration to the last detail, so that you enjoy to the maximum. Emotions for all tastes. Families, friends, big and small: in our theme park, all the fun.</P>",
"additionalEventData": "",
"duration": "",
"communication-elements": {
"@language": "en_US",
"images": [
{
"@type": "LOGO_WEB",
"@order": 1,
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"videos": [
{
"@type": "VIDEO",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"files": [
{
"@type": "FILE",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"banners": [
{
"@type": "CHANNEL_PURCHASE_HEADER_BANNER",
"imageUrl": "https://s3.amazonaws.com/onebox-repository/pro/1/1/itemIdioma/1741/1_image_1340695930723.jpg",
"linkUrl": "http://www.website.com/channel_id"
}
]
},
"taxonomy": {
"@id": 68,
"code": "APRTEM",
"description": "Theme Parks",
"superior-taxonomy": {
"@id": 68,
"code": "APRTEM",
"description": "Theme Parks"
}
},
"custom-taxonomy": {
"@id": 68,
"code": "APRTEM",
"description": "Theme Parks"
},
"promoter-custom-taxonomy": {
"@id": 68,
"code": "APRTEM",
"description": "Theme Parks"
},
"languages": {
"language": [
"",
"ca_ES"
]
},
"dates": {
"datetime": [
{
"@type": "EVENT_BEGIN",
"@pendingConfirmation": false,
"@timeZoneId": "Europe/Berlin",
"$": "2018-01-07T19:00:00.000+01:00"
}
]
},
"entidad": {
"@id": 123,
"name": "Theme Park",
"nif": "A54343234",
"email": "info@theme.park",
"phoneNumber": "0034 555 55 55",
"timeZone": "Europe/Madrid",
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
}
},
"promotor": {
"@id": 475,
"corporateName": "Theme Park Entertainment SA.",
"fiscalCode": "A53776307",
"email": "info@theme.park",
"phoneNumber": "0034 555 55 55",
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
}
},
"tour": {
"@id": 475,
"name": "Theme Park",
"promotorReference": "Theme Park Entertainment SA."
},
"severalVenues": false,
"severalLocations": false,
"supraEvent": false,
"giftTicket": false,
"nominal": false,
"eventType": "EVENT",
"attribute-values": [
{
"attribute-info": {
"id": 0,
"name": "",
"selection": "SINGLE",
"domain-value-info": [
{
"idValue": 10,
"value": "oneboxtm",
"referenceCode": "OB"
}
],
"domain": "EVENT",
"valueType": "DOMAIN_VALUE",
"referenceCode": "Attr"
},
"attribute-value": [
{
"user-input-value": {},
"domain-value": {
"value": "``",
"idValue": 30
}
}
],
"idAttribute": 50,
"description": "DESCRIPTION"
}
],
"passbookPreferences": {
"communication-elements": {
"@language": "en_US",
"images": [
{
"@type": "LOGO_WEB",
"@order": 1,
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"videos": [
{
"@type": "VIDEO",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"files": [
{
"@type": "FILE",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"banners": [
{
"@type": "CHANNEL_PURCHASE_HEADER_BANNER",
"imageUrl": "https://s3.amazonaws.com/onebox-repository/pro/1/1/itemIdioma/1741/1_image_1340695930723.jpg",
"linkUrl": "http://www.website.com/channel_id"
}
]
}
},
"clientEventDiscount": {
"discountType": "AMOUNT"
}
},
"forSale": true,
"blockingReasons": "",
"hasProducts": false,
"admission": "ALL_AGES_ADMITTED",
"supportedEventType": "EVENT",
"supportedVisitorType": "INDIVIDUAL",
"attribute-values": [
{
"attribute-info": {
"id": 0,
"name": "",
"selection": "SINGLE",
"domain-value-info": [
{
"idValue": 10,
"value": "oneboxtm",
"referenceCode": "OB"
}
],
"domain": "EVENT",
"valueType": "DOMAIN_VALUE",
"referenceCode": "Attr"
},
"attribute-value": [
{
"user-input-value": {},
"domain-value": {
"value": "``",
"idValue": 30
}
}
],
"idAttribute": 50,
"description": "DESCRIPTION"
}
],
"visitorGroupConfig": "",
"hideSessionDates": false,
"showDate": false,
"showDatetime": false,
"@rates": "7 days 1 park UK/PAP17",
"season-session-info": {
"beginDate": "2015-09-01T12:00:00+01:00",
"endDate": "2015-10-01T12:00:00+01:00",
"idsSeasonSessions": [],
"seasonSessions": {
"@id": 5553432,
"internalName": "7 days 1 park",
"name": "7 days 1 park",
"description": "<P ALIGN=\\\"LEFT\\\">Six amazing worlds in just one Park, perfect for having fun in family and frends as well.</P>",
"dates": {
"datetime": [
{
"@type": "EVENT_BEGIN",
"@pendingConfirmation": false,
"@timeZoneId": "Europe/Berlin",
"$": "2018-01-07T19:00:00.000+01:00"
}
]
},
"venue": {
"@id": 432432,
"@name": "World Park",
"@timeZone": "Europe/Berlin",
"communication-elements": {
"@language": "en_US",
"images": [
{
"@type": "LOGO_WEB",
"@order": 1,
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"videos": [
{
"@type": "VIDEO",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"files": [
{
"@type": "FILE",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"banners": [
{
"@type": "CHANNEL_PURCHASE_HEADER_BANNER",
"imageUrl": "https://s3.amazonaws.com/onebox-repository/pro/1/1/itemIdioma/1741/1_image_1340695930723.jpg",
"linkUrl": "http://www.website.com/channel_id"
}
]
},
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
}
},
"space": {
"id": 150,
"name": "SPACE"
},
"event-basic-info": {
"@id": 23454,
"internalName": "7 days 1 park",
"externalReferenceCode": "EXT-123",
"title": "Theme Park",
"subtitle": "¡Discover the 6 worlds adrenaline!",
"shortDescription": "<P ALIGN=\\\"LEFT\\\">Six amazing worlds in just one Park, perfect for having fun in family and frends as well.</P>",
"longDescription": "<P ALIGN=\\\"LEFT\\\">Explore a whole world of fun and know our amazing theme parks. An ideal destination for a family getaway, located in one of the best tourist areas of Spain and just an hour from Barcelona! </ P> <BR/> <P ALIGN = \\ \"LEFT \\\"> The best entertainment, relaxation, gastronomy and shopping you can imagine. > A DESTINY AND SIX WORLDS TO DISCOVER </ P> <P ALIGN = \\ \"LEFT \\\"> Here begins a journey that takes you much further than you can imagine. At the Park we look forward to six fascinating worlds completely different, with a careful decoration to the last detail, so that you enjoy to the maximum. Emotions for all tastes. Families, friends, big and small: in our theme park, all the fun.</P>",
"additionalEventData": "",
"duration": "",
"communication-elements": {
"@language": "en_US",
"images": [
{
"@type": "LOGO_WEB",
"@order": 1,
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"videos": [
{
"@type": "VIDEO",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"files": [
{
"@type": "FILE",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"banners": [
{
"@type": "CHANNEL_PURCHASE_HEADER_BANNER",
"imageUrl": "https://s3.amazonaws.com/onebox-repository/pro/1/1/itemIdioma/1741/1_image_1340695930723.jpg",
"linkUrl": "http://www.website.com/channel_id"
}
]
},
"taxonomy": {
"@id": 68,
"code": "APRTEM",
"description": "Theme Parks",
"superior-taxonomy": {
"@id": 68,
"code": "APRTEM",
"description": "Theme Parks"
}
},
"custom-taxonomy": {
"@id": 68,
"code": "APRTEM",
"description": "Theme Parks"
},
"promoter-custom-taxonomy": {
"@id": 68,
"code": "APRTEM",
"description": "Theme Parks"
},
"languages": {
"language": [
"",
"ca_ES"
]
},
"dates": {
"datetime": [
{
"@type": "EVENT_BEGIN",
"@pendingConfirmation": false,
"@timeZoneId": "Europe/Berlin",
"$": "2018-01-07T19:00:00.000+01:00"
}
]
},
"entidad": {
"@id": 123,
"name": "Theme Park",
"nif": "A54343234",
"email": "info@theme.park",
"phoneNumber": "0034 555 55 55",
"timeZone": "Europe/Madrid",
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
}
},
"promotor": {
"@id": 475,
"corporateName": "Theme Park Entertainment SA.",
"fiscalCode": "A53776307",
"email": "info@theme.park",
"phoneNumber": "0034 555 55 55",
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
}
},
"tour": {
"@id": 475,
"name": "Theme Park",
"promotorReference": "Theme Park Entertainment SA."
},
"severalVenues": false,
"severalLocations": false,
"supraEvent": false,
"giftTicket": false,
"nominal": false,
"eventType": "EVENT",
"attribute-values": [
{
"attribute-info": {
"id": 0,
"name": "",
"selection": "SINGLE",
"domain-value-info": [
{
"idValue": 10,
"value": "oneboxtm",
"referenceCode": "OB"
}
],
"domain": "EVENT",
"valueType": "DOMAIN_VALUE",
"referenceCode": "Attr"
},
"attribute-value": [
{
"user-input-value": {},
"domain-value": {
"value": "``",
"idValue": 30
}
}
],
"idAttribute": 50,
"description": "DESCRIPTION"
}
],
"passbookPreferences": {
"communication-elements": {
"@language": "en_US",
"images": [
{
"@type": "LOGO_WEB",
"@order": 1,
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"videos": [
{
"@type": "VIDEO",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"files": [
{
"@type": "FILE",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"banners": [
{
"@type": "CHANNEL_PURCHASE_HEADER_BANNER",
"imageUrl": "https://s3.amazonaws.com/onebox-repository/pro/1/1/itemIdioma/1741/1_image_1340695930723.jpg",
"linkUrl": "http://www.website.com/channel_id"
}
]
}
},
"clientEventDiscount": {
"discountType": "AMOUNT"
}
},
"forSale": true,
"blockingReasons": "",
"hasProducts": false,
"admission": "ALL_AGES_ADMITTED",
"supportedEventType": "EVENT",
"supportedVisitorType": "INDIVIDUAL",
"attribute-values": [
{
"attribute-info": {
"id": 0,
"name": "",
"selection": "SINGLE",
"domain-value-info": [
{
"idValue": 10,
"value": "oneboxtm",
"referenceCode": "OB"
}
],
"domain": "EVENT",
"valueType": "DOMAIN_VALUE",
"referenceCode": "Attr"
},
"attribute-value": [
{
"user-input-value": {},
"domain-value": {
"value": "``",
"idValue": 30
}
}
],
"idAttribute": 50,
"description": "DESCRIPTION"
}
],
"visitorGroupConfig": "",
"hideSessionDates": false,
"showDate": false,
"showDatetime": false,
"@rates": "7 days 1 park UK/PAP17",
"season-session-info": {}
},
"@isSeasonSession": 0
}
},
"event-basic-info": {
"@id": 23454,
"internalName": "7 days 1 park",
"externalReferenceCode": "EXT-123",
"title": "Theme Park",
"subtitle": "¡Discover the 6 worlds adrenaline!",
"shortDescription": "<P ALIGN=\\\"LEFT\\\">Six amazing worlds in just one Park, perfect for having fun in family and frends as well.</P>",
"longDescription": "<P ALIGN=\\\"LEFT\\\">Explore a whole world of fun and know our amazing theme parks. An ideal destination for a family getaway, located in one of the best tourist areas of Spain and just an hour from Barcelona! </ P> <BR/> <P ALIGN = \\ \"LEFT \\\"> The best entertainment, relaxation, gastronomy and shopping you can imagine. > A DESTINY AND SIX WORLDS TO DISCOVER </ P> <P ALIGN = \\ \"LEFT \\\"> Here begins a journey that takes you much further than you can imagine. At the Park we look forward to six fascinating worlds completely different, with a careful decoration to the last detail, so that you enjoy to the maximum. Emotions for all tastes. Families, friends, big and small: in our theme park, all the fun.</P>",
"additionalEventData": "",
"duration": "",
"communication-elements": {
"@language": "en_US",
"images": [
{
"@type": "LOGO_WEB",
"@order": 1,
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"videos": [
{
"@type": "VIDEO",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"files": [
{
"@type": "FILE",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"banners": [
{
"@type": "CHANNEL_PURCHASE_HEADER_BANNER",
"imageUrl": "https://s3.amazonaws.com/onebox-repository/pro/1/1/itemIdioma/1741/1_image_1340695930723.jpg",
"linkUrl": "http://www.website.com/channel_id"
}
]
},
"taxonomy": {
"@id": 68,
"code": "APRTEM",
"description": "Theme Parks",
"superior-taxonomy": {
"@id": 68,
"code": "APRTEM",
"description": "Theme Parks"
}
},
"custom-taxonomy": {
"@id": 68,
"code": "APRTEM",
"description": "Theme Parks"
},
"promoter-custom-taxonomy": {
"@id": 68,
"code": "APRTEM",
"description": "Theme Parks"
},
"languages": {
"language": [
"",
"ca_ES"
]
},
"dates": {
"datetime": [
{
"@type": "EVENT_BEGIN",
"@pendingConfirmation": false,
"@timeZoneId": "Europe/Berlin",
"$": "2018-01-07T19:00:00.000+01:00"
}
]
},
"entidad": {
"@id": 123,
"name": "Theme Park",
"nif": "A54343234",
"email": "info@theme.park",
"phoneNumber": "0034 555 55 55",
"timeZone": "Europe/Madrid",
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
}
},
"promotor": {
"@id": 475,
"corporateName": "Theme Park Entertainment SA.",
"fiscalCode": "A53776307",
"email": "info@theme.park",
"phoneNumber": "0034 555 55 55",
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
}
},
"tour": {
"@id": 475,
"name": "Theme Park",
"promotorReference": "Theme Park Entertainment SA."
},
"severalVenues": false,
"severalLocations": false,
"supraEvent": false,
"giftTicket": false,
"nominal": false,
"eventType": "EVENT",
"attribute-values": [
{
"attribute-info": {
"id": 0,
"name": "",
"selection": "SINGLE",
"domain-value-info": [
{
"idValue": 10,
"value": "oneboxtm",
"referenceCode": "OB"
}
],
"domain": "EVENT",
"valueType": "DOMAIN_VALUE",
"referenceCode": "Attr"
},
"attribute-value": [
{
"user-input-value": {},
"domain-value": {
"value": "``",
"idValue": 30
}
}
],
"idAttribute": 50,
"description": "DESCRIPTION"
}
],
"passbookPreferences": {
"communication-elements": {
"@language": "en_US",
"images": [
{
"@type": "LOGO_WEB",
"@order": 1,
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"videos": [
{
"@type": "VIDEO",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"files": [
{
"@type": "FILE",
"$": "https://s3.amazonaws.com/onebox-repository/pro/1/475/evento/7877/366778_807931_1483100412907.jpg"
}
],
"banners": [
{
"@type": "CHANNEL_PURCHASE_HEADER_BANNER",
"imageUrl": "https://s3.amazonaws.com/onebox-repository/pro/1/1/itemIdioma/1741/1_image_1340695930723.jpg",
"linkUrl": "http://www.website.com/channel_id"
}
]
}
},
"clientEventDiscount": {
"discountType": "AMOUNT"
}
},
"automatic": "",
"promotion": {
"@id": 10,
"activator": "",
"promotionComElements": {
"name": "NAME",
"description": "DESCRIPTION"
}
},
"discount": {
"@id": 10,
"activator": "",
"promotionComElements": {
"name": "NAME",
"description": "DESCRIPTION"
}
},
"productAcquisitionType": "GENERAL"
},
"price-breakdown": {
"base-price": 10,
"automatic-promotion": 0,
"manual-promotion": 0,
"manual-discount": 0,
"client-discount": 0,
"client-comission": 0,
"charges": {
"charge": [
{
"@type": "CHANNEL_CHARGE",
"value 1.5": 0
}
]
},
"delivery-costs": 0,
"insurance": 0,
"taxes": {
"tax": [
{
"@id": 10,
"value": 0
}
]
},
"final-price": 20
},
"bookingIssueStatus": "PENDING",
"$": "2015-09-01T12:00:00+01:00",
"operationsAllowed": {
"printInvoice": false
},
"itemWarning": [
"",
"SESSION_NON_CONSECUTIVE_SEAT"
],
"attendant": {
"field": [
{
"@name": "",
"@value": ""
}
],
"clientDiscount": {
"@value": 0,
"type": "PERCENT"
},
"clientCommission": {
"@value": 0,
"type": "PERCENT"
}
},
"clientConditions": {
"@id": 123
},
"@relatedRefundOrderCode": "",
"@relatedBookingIssueOrderCode": "",
"@relatedBookingIssueOrderType": "PURCHASE",
"originalBookingOrderCode": ""
}
],
"insurance": {
"@id": 123,
"name": "",
"description": "",
"privacyPolicy": "",
"termsOfUse": "",
"additionalData": ""
},
"price-breakdown": {
"base-price": 10,
"automatic-promotion": 0,
"manual-promotion": 0,
"manual-discount": 0,
"client-discount": 0,
"client-comission": 0,
"charges": {
"charge": [
{
"@type": "CHANNEL_CHARGE",
"value 1.5": 0
}
]
},
"delivery-costs": 0,
"insurance": 0,
"taxes": {
"tax": [
{
"@id": 10,
"value": 0
}
]
},
"final-price": 20
},
"payments": {
"payment": [
{
"id": 123,
"type": "CASH",
"value": 0,
"externalReference": "",
"isAdvance": false,
"lastCreditCardDigits": "",
"creditCardType": "MASTERCARD",
"paymentDate": "2015-09-01T12:00:00+01:00",
"transferDate": "2015-09-01T12:00:00+01:00"
}
]
},
"toBePaid": 10.99,
"pending": 0,
"channel": {
"@id": 123,
"name": "",
"type": "PORTAL",
"subType": "WEB"
},
"orderDate": "2015-09-01T12:00:00+01:00",
"additionalChannelCommissions": 0,
"visitorGroup": [
{
"@id": 123,
"name": "",
"numAttendants": 0,
"numAccompanists": 0,
"attribute-values": [
{
"attribute-info": {
"id": 0,
"name": "",
"selection": "SINGLE",
"domain-value-info": [
{
"idValue": 10,
"value": "oneboxtm",
"referenceCode": "OB"
}
],
"domain": "EVENT",
"valueType": "DOMAIN_VALUE",
"referenceCode": "Attr"
},
"attribute-value": [
{
"user-input-value": {},
"domain-value": {
"value": "``",
"idValue": 30
}
}
],
"idAttribute": 50,
"description": "DESCRIPTION"
}
]
}
],
"notes": "A note",
"invoiceData": {
"name": "",
"fiscalCode": "",
"fiscalCodeValidated": true,
"address": "",
"postalCode": "",
"city": "",
"$": "2015-09-01T12:00:00+01:00",
"language": "",
"notes": ""
},
"platformClient": {
"id": 123,
"name": "",
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
},
"clientB2B": {
"businessName": "",
"description": "",
"iataCode": "",
"taxId": "",
"tags": "",
"clientB2BBranch": {
"location": {
"address": "Av. Alcalde Pere Molas, km.2",
"city": "Barcelona",
"postalCode": "SD-4324",
"countrySubdivision": {
"@code": "ES-B",
"$": "Barcelona"
},
"country": {
"@code": "ES",
"$": "Spain"
}
},
"contactName": "",
"contactEmail": "",
"contactPhone": "",
"@main": false
},
"user": {
"@id": 123,
"name": "",
"email": "",
"username": ""
},
"@category": 0
},
"type": "B2B"
},
"@currency": "EUR",
"@orderCode": "01000000000A",
"@status": "PAID",
"@type": "PURCHASE"
}Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"client": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique customer identifier."
},
"name": {
"type": "string"
},
"lastname": {
"type": "string"
},
"$": {
"type": "string"
},
"email": {
"type": "string"
},
"receiptMail": {
"type": "string"
},
"ticketMail": {
"type": "string"
},
"phone": {
"type": "string"
},
"identification": {
"type": "object",
"properties": {
"value": {
"type": "string"
},
"@type": {
"type": "string"
}
},
"required": [
"value",
"@type"
]
},
"gender": {
"type": "string",
"enum": [
"NOT_DEFINED",
"MALE",
"FEMALE"
]
},
"location": {
"type": "object",
"properties": {
"address": {
"type": "string",
"description": "Venue address where the event will be performed."
},
"city": {
"type": "string",
"description": "City where the event will be performed."
},
"postalCode": {
"type": "string",
"description": "Postal code or zip code where the event will be performed."
},
"countrySubdivision": {
"type": "object",
"properties": {
"@code": {
"type": "string",
"description": "Item unique identifier."
},
"$": {
"type": "string",
"description": "Item value string."
}
},
"required": [
"@code",
"$"
],
"description": "`Country subdivision, this shall be the province, state or county. Ie: ES-T - Tarragona.`"
},
"country": {
"type": "object",
"properties": {
"@code": {
"type": "string",
"description": "Item unique identifier."
},
"$": {
"type": "string",
"description": "Item value string."
}
},
"required": [
"@code",
"$"
],
"description": "`Ie: ES - Spain.`"
},
"coordinates": {
"type": "string"
}
},
"required": [
"address",
"city",
"postalCode",
"countrySubdivision",
"country"
]
},
"idCard": {
"type": "string"
},
"docType": {
"type": "number"
},
"profile-data": {
"type": "object",
"properties": {
"@`profile-id`": {
"type": "number",
"description": "Unique profile data identifier."
},
"profile-field": {
"type": "array"
}
},
"required": [
"@`profile-id`"
]
},
"language": {
"type": "object",
"properties": {
"value": {
"type": "string"
},
"@code": {
"type": "string"
}
},
"required": [
"value",
"@code"
]
},
"groupValidation": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@idGroup": {
"type": "number",
"description": "Unique group validation identifier."
},
"user": {
"type": "string"
},
"promotionalCode": {
"type": "string"
},
"externalProperties": {
"type": "object",
"properties": {
"externalId": {
"type": "string"
}
}
}
},
"required": [
"@idGroup",
"user",
"promotionalCode"
]
}
},
"allowCommercialMailing": {
"type": "boolean"
}
},
"required": [
"@id",
"name",
"lastname",
"$",
"gender",
"location"
]
},
"operationsOrderAllowed": {
"type": "object",
"properties": {
"printInvoice": {
"type": "boolean"
}
},
"required": [
"printInvoice"
]
},
"order-item": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique order item identifier."
},
"@type": {
"type": "string",
"enum": [
"TICKET",
"PRODUCT"
]
},
"ticket-data": {
"type": "object",
"properties": {
"notNumberedAreaName": {
"type": "string"
},
"numSeat": {
"type": "string"
},
"rowName": {
"type": "string"
},
"sectorName": {
"type": "string"
},
"printouts": {
"type": "number"
},
"cancellations": {
"type": "number"
},
"barcode": {
"type": "string"
},
"status": {
"type": "string",
"enum": [
"PURCHASED",
"REFUND",
"PREORDER",
"CONFIRMED",
"INVITATION"
]
},
"accessibility": {
"type": "string",
"enum": [
"NORMAL",
"DISABILITY"
]
},
"visibility": {
"type": "string",
"enum": [
"NORMAL",
"REDUCED",
"NULL"
]
},
"customer": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique customer identifier."
},
"name": {
"type": "string"
},
"lastname": {
"type": "string"
},
"$": {
"type": "string"
},
"email": {
"type": "string"
},
"receiptMail": {
"type": "string"
},
"ticketMail": {
"type": "string"
},
"phone": {
"type": "string"
},
"identification": {
"type": "object",
"properties": {
"value": {
"type": "string"
},
"@type": {
"type": "string"
}
},
"required": [
"value",
"@type"
]
},
"gender": {
"type": "string",
"enum": [
"NOT_DEFINED",
"MALE",
"FEMALE"
]
},
"location": {
"type": "object",
"properties": {
"address": {
"type": "string",
"description": "Venue address where the event will be performed."
},
"city": {
"type": "string",
"description": "City where the event will be performed."
},
"postalCode": {
"type": "string",
"description": "Postal code or zip code where the event will be performed."
},
"countrySubdivision": {
"type": "object",
"properties": {
"@code": {
"type": "string",
"description": "Item unique identifier."
},
"$": {
"type": "string",
"description": "Item value string."
}
},
"required": [
"@code",
"$"
],
"description": "`Country subdivision, this shall be the province, state or county. Ie: ES-T - Tarragona.`"
},
"country": {
"type": "object",
"properties": {
"@code": {
"type": "string",
"description": "Item unique identifier."
},
"$": {
"type": "string",
"description": "Item value string."
}
},
"required": [
"@code",
"$"
],
"description": "`Ie: ES - Spain.`"
},
"coordinates": {
"type": "string"
}
},
"required": [
"address",
"city",
"postalCode",
"countrySubdivision",
"country"
]
},
"idCard": {
"type": "string"
},
"docType": {
"type": "number"
},
"profile-data": {
"type": "object",
"properties": {
"@`profile-id`": {
"type": "number",
"description": "Unique profile data identifier."
},
"profile-field": {
"type": "array"
}
},
"required": [
"@`profile-id`"
]
},
"language": {
"type": "object",
"properties": {
"value": {
"type": "string"
},
"@code": {
"type": "string"
}
},
"required": [
"value",
"@code"
]
},
"groupValidation": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@idGroup": {
"type": "number",
"description": "Unique group validation identifier."
},
"user": {
"type": "string"
},
"promotionalCode": {
"type": "string"
},
"externalProperties": {
"type": "object",
"properties": {
"externalId": {
"type": "string"
}
}
}
},
"required": [
"@idGroup",
"user",
"promotionalCode"
]
}
},
"allowCommercialMailing": {
"type": "boolean"
}
},
"required": [
"@id",
"name",
"lastname",
"$",
"gender",
"location"
]
},
"session-basic-info": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "`Onebox session/performance unique identifier.`"
},
"internalName": {
"type": "string",
"description": "Product internal description name."
},
"name": {
"type": "string",
"description": "Public product name depending on the language requestd."
},
"description": {
"type": "string",
"description": "Session description"
},
"dates": {
"type": "object",
"properties": {
"datetime": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"enum": [
"EVENT_BEGIN",
"EVENT_END",
"SESSION_BEGIN",
"SESSION_END",
"SESSION_SALES_BEGIN",
"SESSION_SALES_END",
"PRODUCT_SALES",
"PRODUCT_SALES_END",
"SESSION_PUBLISHED",
"PROMOTION_BEGIN",
"PROMOTION_END",
"SEASON_TICKET_HOLDER_BEGIN",
"SEASON_TICKET_HOLDER_END"
],
"description": "Define the date meaning possibilites."
},
"@pendingConfirmation": {
"type": "boolean",
"description": "Says whether the date is finally commited or not."
},
"@timeZoneId": {
"type": "string",
"description": "Define the time zone worldwide from UTC."
},
"$": {
"type": "string",
"description": "XmlGregorianCalendar representation of the given date."
}
}
}
}
}
},
"venue": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Onebox internal venue unique identifier."
},
"@name": {
"type": "string",
"description": "Public venue name."
},
"@timeZone": {
"type": "string",
"description": "Define the time zone worldwide from UTC."
},
"communication-elements": {
"type": "object",
"properties": {
"@language": {
"type": "string",
"description": "Indicates the language of the communitacion event details."
},
"images": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`Image categorization, ie: LOGO_WEB, IMG_BANNER_WEB, IMG_BODY_WEB.`"
},
"@order": {
"type": "number",
"description": "Indicates just the order/priority in case of same type. This number is unique."
},
"$": {
"type": "string",
"description": "Absolute path to the image file."
}
},
"required": [
"@type",
"@order",
"$"
]
},
"description": "List of related images as banners, logo's, backgrounds..."
},
"videos": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`Video categorization.`"
},
"$": {
"type": "string",
"description": "Absolute path to the video file."
}
},
"required": [
"@type",
"$"
]
},
"description": "List of related images as banners, logo's, backgrounds..."
},
"files": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`File categorization.`"
},
"$": {
"type": "string",
"description": "Absolute path to the file."
}
},
"required": [
"@type",
"$"
]
},
"description": "List of related images as banners, logo's, backgrounds..."
},
"banners": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`Banner categorization, ie: CHANNEL_PURCHASE_HEADER_BANNER, CHANNEL_PURCHASE_BANNER, PROMOTER_PURCHASE_BANNER`"
},
"imageUrl": {
"type": "string",
"description": "Absolute path to the banner image file."
},
"linkUrl": {
"type": "string",
"description": "Direct link to the promotional site just in case."
}
},
"required": [
"@type",
"imageUrl"
]
},
"description": "List of related banners to put into a website, pdf, ticket..."
}
},
"required": [
"@language"
]
},
"location": {
"type": "object",
"properties": {
"address": {
"type": "string",
"description": "Venue address where the event will be performed."
},
"city": {
"type": "string",
"description": "City where the event will be performed."
},
"postalCode": {
"type": "string",
"description": "Postal code or zip code where the event will be performed."
},
"countrySubdivision": {
"type": "object",
"properties": {
"@code": {
"type": "string",
"description": "Item unique identifier."
},
"$": {
"type": "string",
"description": "Item value string."
}
},
"required": [
"@code",
"$"
],
"description": "`Country subdivision, this shall be the province, state or county. Ie: ES-T - Tarragona.`"
},
"country": {
"type": "object",
"properties": {
"@code": {
"type": "string",
"description": "Item unique identifier."
},
"$": {
"type": "string",
"description": "Item value string."
}
},
"required": [
"@code",
"$"
],
"description": "`Ie: ES - Spain.`"
},
"coordinates": {
"type": "string"
}
},
"required": [
"address",
"city",
"postalCode",
"countrySubdivision",
"country"
]
}
},
"required": [
"@id",
"@name"
]
},
"space": {
"type": "object",
"properties": {
"id": {
"type": "number",
"description": "Unique space identifier."
},
"name": {
"type": "string",
"description": "Space name."
}
}
},
"event-basic-info": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique identifier for each event/activity product."
},
"internalName": {
"type": "string",
"description": "Product internal description name."
},
"externalReferenceCode": {
"type": "string",
"description": "In case of product from 3rd party suppliers, those came with its own reference."
},
"title": {
"type": "string",
"description": "Event main title"
},
"subtitle": {
"type": "string",
"description": "Event secondary title"
},
"shortDescription": {
"type": "string",
"description": "Event short description"
},
"longDescription": {
"type": "string",
"description": "Event detailed description"
},
"additionalEventData": {
"type": "string"
},
"duration": {
"type": "string"
},
"communication-elements": {
"type": "object",
"properties": {
"@language": {
"type": "string",
"description": "Indicates the language of the communitacion event details."
},
"images": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`Image categorization, ie: LOGO_WEB, IMG_BANNER_WEB, IMG_BODY_WEB.`"
},
"@order": {
"type": "number",
"description": "Indicates just the order/priority in case of same type. This number is unique."
},
"$": {
"type": "string",
"description": "Absolute path to the image file."
}
},
"required": [
"@type",
"@order",
"$"
]
},
"description": "List of related images as banners, logo's, backgrounds..."
},
"videos": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`Video categorization.`"
},
"$": {
"type": "string",
"description": "Absolute path to the video file."
}
},
"required": [
"@type",
"$"
]
},
"description": "List of related images as banners, logo's, backgrounds..."
},
"files": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`File categorization.`"
},
"$": {
"type": "string",
"description": "Absolute path to the file."
}
},
"required": [
"@type",
"$"
]
},
"description": "List of related images as banners, logo's, backgrounds..."
},
"banners": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`Banner categorization, ie: CHANNEL_PURCHASE_HEADER_BANNER, CHANNEL_PURCHASE_BANNER, PROMOTER_PURCHASE_BANNER`"
},
"imageUrl": {
"type": "string",
"description": "Absolute path to the banner image file."
},
"linkUrl": {
"type": "string",
"description": "Direct link to the promotional site just in case."
}
},
"required": [
"@type",
"imageUrl"
]
},
"description": "List of related banners to put into a website, pdf, ticket..."
}
},
"required": [
"@language"
]
},
"taxonomy": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique identifier of this product segmentation."
},
"code": {
"type": "string",
"description": "Unique identifier fo this product segmentation to be used in th API."
},
"description": {
"type": "string",
"description": "Short description to better understand the taxonomy segmentation."
},
"superior-taxonomy": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique identifier of this product segmentation."
},
"code": {
"type": "string",
"description": "Unique identifier fo this product segmentation to be used in th API."
},
"description": {
"type": "string",
"description": "Short description to better understand the taxonomy segmentation."
}
},
"required": [
"@id",
"code"
]
}
},
"required": [
"@id",
"code"
]
},
"custom-taxonomy": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique identifier of this product segmentation."
},
"code": {
"type": "string",
"description": "Unique identifier fo this product segmentation to be used in th API."
},
"description": {
"type": "string",
"description": "Short description to better understand the taxonomy segmentation."
}
},
"required": [
"@id",
"code"
]
},
"promoter-custom-taxonomy": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique identifier of this product segmentation."
},
"code": {
"type": "string",
"description": "Unique identifier fo this product segmentation to be used in th API."
},
"description": {
"type": "string",
"description": "Short description to better understand the taxonomy segmentation."
}
},
"required": [
"@id",
"code"
]
},
"languages": {
"type": "object",
"properties": {
"language": {
"type": "array",
"items": [
{},
{
"type": "string",
"enum": [
"ca_ES",
"es_ES",
"en_US",
"fr_FR",
"it_IT",
"de_DE"
]
}
],
"description": "`List of the available languages for the event descriptions.`"
}
}
},
"dates": {
"type": "object",
"properties": {
"datetime": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"enum": [
"EVENT_BEGIN",
"EVENT_END",
"SESSION_BEGIN",
"SESSION_END",
"SESSION_SALES_BEGIN",
"SESSION_SALES_END",
"PRODUCT_SALES",
"PRODUCT_SALES_END",
"SESSION_PUBLISHED",
"PROMOTION_BEGIN",
"PROMOTION_END",
"SEASON_TICKET_HOLDER_BEGIN",
"SEASON_TICKET_HOLDER_END"
],
"description": "Define the date meaning possibilites."
},
"@pendingConfirmation": {
"type": "boolean",
"description": "Says whether the date is finally commited or not."
},
"@timeZoneId": {
"type": "string",
"description": "Define the time zone worldwide from UTC."
},
"$": {
"type": "string",
"description": "XmlGregorianCalendar representation of the given date."
}
}
}
}
}
},
"entidad": {
"type": "object",
"properties": {
"@id": {
"type": "number"
},
"name": {
"type": "string",
"description": "Promotor/Organizer company name."
},
"nif": {
"type": "string",
"description": "Tax/Vat unique identifier number."
},
"email": {
"type": "string"
},
"phoneNumber": {
"type": "string"
},
"timeZone": {
"type": "string"
},
"location": {
"type": "object",
"properties": {
"address": {
"type": "string",
"description": "Venue address where the event will be performed."
},
"city": {
"type": "string",
"description": "City where the event will be performed."
},
"postalCode": {
"type": "string",
"description": "Postal code or zip code where the event will be performed."
},
"countrySubdivision": {
"type": "object",
"properties": {
"@code": {
"type": "string",
"description": "Item unique identifier."
},
"$": {
"type": "string",
"description": "Item value string."
}
},
"required": [
"@code",
"$"
],
"description": "`Country subdivision, this shall be the province, state or county. Ie: ES-T - Tarragona.`"
},
"country": {
"type": "object",
"properties": {
"@code": {
"type": "string",
"description": "Item unique identifier."
},
"$": {
"type": "string",
"description": "Item value string."
}
},
"required": [
"@code",
"$"
],
"description": "`Ie: ES - Spain.`"
},
"coordinates": {
"type": "string"
}
},
"required": [
"address",
"city",
"postalCode",
"countrySubdivision",
"country"
]
}
},
"required": [
"@id",
"name",
"nif",
"email",
"phoneNumber",
"timeZone"
]
},
"promotor": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Onebox internal unique identifier."
},
"corporateName": {
"type": "string"
},
"fiscalCode": {
"type": "string",
"description": "Tax/Vat unique identifier number."
},
"email": {
"type": "string"
},
"phoneNumber": {
"type": "string"
},
"location": {
"type": "object",
"properties": {
"address": {
"type": "string",
"description": "Venue address where the event will be performed."
},
"city": {
"type": "string",
"description": "City where the event will be performed."
},
"postalCode": {
"type": "string",
"description": "Postal code or zip code where the event will be performed."
},
"countrySubdivision": {
"type": "object",
"properties": {
"@code": {
"type": "string",
"description": "Item unique identifier."
},
"$": {
"type": "string",
"description": "Item value string."
}
},
"required": [
"@code",
"$"
],
"description": "`Country subdivision, this shall be the province, state or county. Ie: ES-T - Tarragona.`"
},
"country": {
"type": "object",
"properties": {
"@code": {
"type": "string",
"description": "Item unique identifier."
},
"$": {
"type": "string",
"description": "Item value string."
}
},
"required": [
"@code",
"$"
],
"description": "`Ie: ES - Spain.`"
},
"coordinates": {
"type": "string"
}
},
"required": [
"address",
"city",
"postalCode",
"countrySubdivision",
"country"
]
}
},
"required": [
"@id",
"corporateName",
"fiscalCode",
"email",
"phoneNumber"
]
},
"tour": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Onebox internal unique identifier."
},
"name": {
"type": "string",
"description": "Tour name."
},
"promotorReference": {
"type": "string",
"description": "Promotor reference."
}
},
"required": [
"@id",
"name",
"promotorReference"
]
},
"severalVenues": {
"type": "boolean",
"description": "Is the event performed in different venues?"
},
"severalLocations": {
"type": "boolean",
"description": "Is the event perfomed in different locations?"
},
"supraEvent": {
"type": "boolean",
"description": "Is the event a sibling from another parent event?"
},
"giftTicket": {
"type": "boolean",
"description": "Has this event free entrance tickets allowed?"
},
"nominal": {
"type": "boolean",
"description": "Has the ticket to indicate the owner name / surname / id details?"
},
"eventType": {
"type": "string",
"enum": [
"EVENT",
"ACTIVITY"
]
},
"attribute-values": {
"type": "array",
"items": {
"type": "object",
"properties": {
"attribute-info": {
"type": "object",
"properties": {
"id": {
"type": "number",
"description": "Unique identifier."
},
"name": {
"type": "string"
},
"selection": {
"type": "string",
"enum": [
"SINGLE",
"MULTIPLE"
]
},
"domain-value-info": {
"type": "array",
"items": {
"type": "object",
"properties": {
"idValue": {
"type": "number",
"description": "Unique identifier."
},
"value": {
"type": "string"
},
"referenceCode": {
"type": "string"
}
},
"required": [
"idValue",
"value",
"referenceCode"
]
}
},
"domain": {
"type": "string",
"enum": [
"EVENT",
"SESSION",
"GROUP",
"PROFILE"
]
},
"valueType": {
"type": "string",
"enum": [
"USER_INPUT_INTEGER",
"USER_INPUT_STRING",
"DOMAIN_VALUE"
]
},
"referenceCode": {
"type": "string"
}
},
"required": [
"id",
"name",
"selection",
"domain-value-info",
"domain",
"valueType",
"referenceCode"
]
},
"attribute-value": {
"type": "array",
"items": {
"type": "object",
"properties": {
"user-input-value": {
"type": "object",
"properties": {},
"description": "Unique identifier."
},
"domain-value": {
"type": "object",
"properties": {
"value": {
"type": "string"
},
"idValue": {
"type": "number"
}
},
"required": [
"value"
],
"description": "Unique identifier."
}
}
}
},
"idAttribute": {
"type": "number"
},
"description": {
"type": "string"
}
},
"required": [
"attribute-info",
"attribute-value"
]
}
},
"passbookPreferences": {
"type": [
"object",
"null"
],
"properties": {
"communication-elements": {
"type": "object",
"properties": {
"@language": {
"type": "string",
"description": "Indicates the language of the communitacion event details."
},
"images": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`Image categorization, ie: LOGO_WEB, IMG_BANNER_WEB, IMG_BODY_WEB.`"
},
"@order": {
"type": "number",
"description": "Indicates just the order/priority in case of same type. This number is unique."
},
"$": {
"type": "string",
"description": "Absolute path to the image file."
}
},
"required": [
"@type",
"@order",
"$"
]
},
"description": "List of related images as banners, logo's, backgrounds..."
},
"videos": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`Video categorization.`"
},
"$": {
"type": "string",
"description": "Absolute path to the video file."
}
},
"required": [
"@type",
"$"
]
},
"description": "List of related images as banners, logo's, backgrounds..."
},
"files": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`File categorization.`"
},
"$": {
"type": "string",
"description": "Absolute path to the file."
}
},
"required": [
"@type",
"$"
]
},
"description": "List of related images as banners, logo's, backgrounds..."
},
"banners": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`Banner categorization, ie: CHANNEL_PURCHASE_HEADER_BANNER, CHANNEL_PURCHASE_BANNER, PROMOTER_PURCHASE_BANNER`"
},
"imageUrl": {
"type": "string",
"description": "Absolute path to the banner image file."
},
"linkUrl": {
"type": "string",
"description": "Direct link to the promotional site just in case."
}
},
"required": [
"@type",
"imageUrl"
]
},
"description": "List of related banners to put into a website, pdf, ticket..."
}
},
"required": [
"@language"
]
},
"textColor": {
"type": "string"
},
"labelColor": {
"type": "string"
},
"backgroundColor": {
"type": "string"
}
}
},
"clientEventDiscount": {
"type": "object",
"properties": {
"discountType": {
"type": "string",
"enum": [
"AMOUNT",
"PERCENT"
]
},
"discount": {
"type": "number"
}
},
"required": [
"discountType"
]
}
},
"required": [
"@id",
"internalName",
"externalReferenceCode",
"title",
"subtitle",
"shortDescription",
"longDescription",
"additionalEventData",
"duration",
"severalVenues",
"severalLocations",
"supraEvent",
"giftTicket",
"nominal",
"eventType",
"passbookPreferences"
]
},
"forSale": {
"type": "boolean",
"description": "Indicates the event is whether on sale or not."
},
"blockingReasons": {
"type": "string"
},
"hasProducts": {
"type": "boolean",
"description": "For Onebox box office purposes only."
},
"admission": {
"type": "string",
"enum": [
"ALL_AGES_ADMITTED",
"NOT_ADMITTED_UNDER_4",
"NOT_ADMITTED_UNDER_7",
"NOT_ADMITTED_UNDER_8",
"NOT_ADMITTED_UNDER_12",
"NOT_ADMITTED_UNDER_13",
"NOT_ADMITTED_UNDER_14",
"NOT_ADMITTED_UNDER_16",
"NOT_ADMITTED_UNDER_18",
"NOT_ADMITTED_UNDER_21"
],
"description": "Filter the age range to be admitted as an attendant."
},
"supportedEventType": {
"type": "string",
"enum": [
"EVENT",
"ACTIVITY"
]
},
"supportedVisitorType": {
"type": "string",
"enum": [
"INDIVIDUAL",
"GROUP",
"MIXED"
]
},
"attribute-values": {
"type": "array",
"items": {
"type": "object",
"properties": {
"attribute-info": {
"type": "object",
"properties": {
"id": {
"type": "number",
"description": "Unique identifier."
},
"name": {
"type": "string"
},
"selection": {
"type": "string",
"enum": [
"SINGLE",
"MULTIPLE"
]
},
"domain-value-info": {
"type": "array",
"items": {
"type": "object",
"properties": {
"idValue": {
"type": "number",
"description": "Unique identifier."
},
"value": {
"type": "string"
},
"referenceCode": {
"type": "string"
}
},
"required": [
"idValue",
"value",
"referenceCode"
]
}
},
"domain": {
"type": "string",
"enum": [
"EVENT",
"SESSION",
"GROUP",
"PROFILE"
]
},
"valueType": {
"type": "string",
"enum": [
"USER_INPUT_INTEGER",
"USER_INPUT_STRING",
"DOMAIN_VALUE"
]
},
"referenceCode": {
"type": "string"
}
},
"required": [
"id",
"name",
"selection",
"domain-value-info",
"domain",
"valueType",
"referenceCode"
]
},
"attribute-value": {
"type": "array",
"items": {
"type": "object",
"properties": {
"user-input-value": {
"type": "object",
"properties": {},
"description": "Unique identifier."
},
"domain-value": {
"type": "object",
"properties": {
"value": {
"type": "string"
},
"idValue": {
"type": "number"
}
},
"required": [
"value"
],
"description": "Unique identifier."
}
}
}
},
"idAttribute": {
"type": "number"
},
"description": {
"type": "string"
}
},
"required": [
"attribute-info",
"attribute-value"
]
}
},
"visitorGroupConfig": {
"type": "string"
},
"hideSessionDates": {
"type": "boolean",
"description": "For Onebox box office purposes only."
},
"showDate": {
"type": "boolean",
"description": "For Onebox box office purposes only."
},
"showDatetime": {
"type": "boolean",
"description": "For Onebox box office purposes only."
},
"@rates": {
"type": "string",
"description": "Rate description identifier."
},
"season-session-info": {
"type": "object",
"properties": {
"beginDate": {
"type": "string"
},
"endDate": {
"type": "string"
},
"idsSeasonSessions": {
"type": "array"
},
"seasonSessions": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "`Onebox session/performance unique identifier.`"
},
"internalName": {
"type": "string",
"description": "Product internal description name."
},
"name": {
"type": "string",
"description": "Public product name depending on the language requestd."
},
"description": {
"type": "string",
"description": "Session description"
},
"dates": {
"type": "object",
"properties": {
"datetime": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"enum": [
"EVENT_BEGIN",
"EVENT_END",
"SESSION_BEGIN",
"SESSION_END",
"SESSION_SALES_BEGIN",
"SESSION_SALES_END",
"PRODUCT_SALES",
"PRODUCT_SALES_END",
"SESSION_PUBLISHED",
"PROMOTION_BEGIN",
"PROMOTION_END",
"SEASON_TICKET_HOLDER_BEGIN",
"SEASON_TICKET_HOLDER_END"
],
"description": "Define the date meaning possibilites."
},
"@pendingConfirmation": {
"type": "boolean",
"description": "Says whether the date is finally commited or not."
},
"@timeZoneId": {
"type": "string",
"description": "Define the time zone worldwide from UTC."
},
"$": {
"type": "string",
"description": "XmlGregorianCalendar representation of the given date."
}
}
}
}
}
},
"venue": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Onebox internal venue unique identifier."
},
"@name": {
"type": "string",
"description": "Public venue name."
},
"@timeZone": {
"type": "string",
"description": "Define the time zone worldwide from UTC."
},
"communication-elements": {
"type": "object",
"properties": {
"@language": {
"type": "string",
"description": "Indicates the language of the communitacion event details."
},
"images": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`Image categorization, ie: LOGO_WEB, IMG_BANNER_WEB, IMG_BODY_WEB.`"
},
"@order": {
"type": "number",
"description": "Indicates just the order/priority in case of same type. This number is unique."
},
"$": {
"type": "string",
"description": "Absolute path to the image file."
}
},
"required": [
"@type",
"@order",
"$"
]
},
"description": "List of related images as banners, logo's, backgrounds..."
},
"videos": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`Video categorization.`"
},
"$": {
"type": "string",
"description": "Absolute path to the video file."
}
},
"required": [
"@type",
"$"
]
},
"description": "List of related images as banners, logo's, backgrounds..."
},
"files": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`File categorization.`"
},
"$": {
"type": "string",
"description": "Absolute path to the file."
}
},
"required": [
"@type",
"$"
]
},
"description": "List of related images as banners, logo's, backgrounds..."
},
"banners": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`Banner categorization, ie: CHANNEL_PURCHASE_HEADER_BANNER, CHANNEL_PURCHASE_BANNER, PROMOTER_PURCHASE_BANNER`"
},
"imageUrl": {
"type": "string",
"description": "Absolute path to the banner image file."
},
"linkUrl": {
"type": "string",
"description": "Direct link to the promotional site just in case."
}
},
"required": [
"@type",
"imageUrl"
]
},
"description": "List of related banners to put into a website, pdf, ticket..."
}
},
"required": [
"@language"
]
},
"location": {
"type": "object",
"properties": {
"address": {
"type": "string",
"description": "Venue address where the event will be performed."
},
"city": {
"type": "string",
"description": "City where the event will be performed."
},
"postalCode": {
"type": "string",
"description": "Postal code or zip code where the event will be performed."
},
"countrySubdivision": {
"type": "object",
"properties": {
"@code": {
"type": "string",
"description": "Item unique identifier."
},
"$": {
"type": "string",
"description": "Item value string."
}
},
"required": [
"@code",
"$"
],
"description": "`Country subdivision, this shall be the province, state or county. Ie: ES-T - Tarragona.`"
},
"country": {
"type": "object",
"properties": {
"@code": {
"type": "string",
"description": "Item unique identifier."
},
"$": {
"type": "string",
"description": "Item value string."
}
},
"required": [
"@code",
"$"
],
"description": "`Ie: ES - Spain.`"
},
"coordinates": {
"type": "string"
}
},
"required": [
"address",
"city",
"postalCode",
"countrySubdivision",
"country"
]
}
},
"required": [
"@id",
"@name"
]
},
"space": {
"type": "object",
"properties": {
"id": {
"type": "number",
"description": "Unique space identifier."
},
"name": {
"type": "string",
"description": "Space name."
}
}
},
"event-basic-info": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique identifier for each event/activity product."
},
"internalName": {
"type": "string",
"description": "Product internal description name."
},
"externalReferenceCode": {
"type": "string",
"description": "In case of product from 3rd party suppliers, those came with its own reference."
},
"title": {
"type": "string",
"description": "Event main title"
},
"subtitle": {
"type": "string",
"description": "Event secondary title"
},
"shortDescription": {
"type": "string",
"description": "Event short description"
},
"longDescription": {
"type": "string",
"description": "Event detailed description"
},
"additionalEventData": {
"type": "string"
},
"duration": {
"type": "string"
},
"communication-elements": {
"type": "object",
"properties": {
"@language": {
"type": "string",
"description": "Indicates the language of the communitacion event details."
},
"images": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`Image categorization, ie: LOGO_WEB, IMG_BANNER_WEB, IMG_BODY_WEB.`"
},
"@order": {
"type": "number",
"description": "Indicates just the order/priority in case of same type. This number is unique."
},
"$": {
"type": "string",
"description": "Absolute path to the image file."
}
},
"required": [
"@type",
"@order",
"$"
]
},
"description": "List of related images as banners, logo's, backgrounds..."
},
"videos": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`Video categorization.`"
},
"$": {
"type": "string",
"description": "Absolute path to the video file."
}
},
"required": [
"@type",
"$"
]
},
"description": "List of related images as banners, logo's, backgrounds..."
},
"files": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`File categorization.`"
},
"$": {
"type": "string",
"description": "Absolute path to the file."
}
},
"required": [
"@type",
"$"
]
},
"description": "List of related images as banners, logo's, backgrounds..."
},
"banners": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`Banner categorization, ie: CHANNEL_PURCHASE_HEADER_BANNER, CHANNEL_PURCHASE_BANNER, PROMOTER_PURCHASE_BANNER`"
},
"imageUrl": {
"type": "string",
"description": "Absolute path to the banner image file."
},
"linkUrl": {
"type": "string",
"description": "Direct link to the promotional site just in case."
}
},
"required": [
"@type",
"imageUrl"
]
},
"description": "List of related banners to put into a website, pdf, ticket..."
}
},
"required": [
"@language"
]
},
"taxonomy": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique identifier of this product segmentation."
},
"code": {
"type": "string",
"description": "Unique identifier fo this product segmentation to be used in th API."
},
"description": {
"type": "string",
"description": "Short description to better understand the taxonomy segmentation."
},
"superior-taxonomy": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique identifier of this product segmentation."
},
"code": {
"type": "string",
"description": "Unique identifier fo this product segmentation to be used in th API."
},
"description": {
"type": "string",
"description": "Short description to better understand the taxonomy segmentation."
}
},
"required": [
"@id",
"code"
]
}
},
"required": [
"@id",
"code"
]
},
"custom-taxonomy": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique identifier of this product segmentation."
},
"code": {
"type": "string",
"description": "Unique identifier fo this product segmentation to be used in th API."
},
"description": {
"type": "string",
"description": "Short description to better understand the taxonomy segmentation."
}
},
"required": [
"@id",
"code"
]
},
"promoter-custom-taxonomy": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique identifier of this product segmentation."
},
"code": {
"type": "string",
"description": "Unique identifier fo this product segmentation to be used in th API."
},
"description": {
"type": "string",
"description": "Short description to better understand the taxonomy segmentation."
}
},
"required": [
"@id",
"code"
]
},
"languages": {
"type": "object",
"properties": {
"language": {
"type": "array",
"items": [
{},
{
"type": "string",
"enum": [
"ca_ES",
"es_ES",
"en_US",
"fr_FR",
"it_IT",
"de_DE"
]
}
],
"description": "`List of the available languages for the event descriptions.`"
}
}
},
"dates": {
"type": "object",
"properties": {
"datetime": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"enum": [
"EVENT_BEGIN",
"EVENT_END",
"SESSION_BEGIN",
"SESSION_END",
"SESSION_SALES_BEGIN",
"SESSION_SALES_END",
"PRODUCT_SALES",
"PRODUCT_SALES_END",
"SESSION_PUBLISHED",
"PROMOTION_BEGIN",
"PROMOTION_END",
"SEASON_TICKET_HOLDER_BEGIN",
"SEASON_TICKET_HOLDER_END"
],
"description": "Define the date meaning possibilites."
},
"@pendingConfirmation": {
"type": "boolean",
"description": "Says whether the date is finally commited or not."
},
"@timeZoneId": {
"type": "string",
"description": "Define the time zone worldwide from UTC."
},
"$": {
"type": "string",
"description": "XmlGregorianCalendar representation of the given date."
}
}
}
}
}
},
"entidad": {
"type": "object",
"properties": {
"@id": {
"type": "number"
},
"name": {
"type": "string",
"description": "Promotor/Organizer company name."
},
"nif": {
"type": "string",
"description": "Tax/Vat unique identifier number."
},
"email": {
"type": "string"
},
"phoneNumber": {
"type": "string"
},
"timeZone": {
"type": "string"
},
"location": {
"type": "object",
"properties": {
"address": {
"type": "string",
"description": "Venue address where the event will be performed."
},
"city": {
"type": "string",
"description": "City where the event will be performed."
},
"postalCode": {
"type": "string",
"description": "Postal code or zip code where the event will be performed."
},
"countrySubdivision": {
"type": "object",
"properties": {
"@code": {
"type": "string",
"description": "Item unique identifier."
},
"$": {
"type": "string",
"description": "Item value string."
}
},
"required": [
"@code",
"$"
],
"description": "`Country subdivision, this shall be the province, state or county. Ie: ES-T - Tarragona.`"
},
"country": {
"type": "object",
"properties": {
"@code": {
"type": "string",
"description": "Item unique identifier."
},
"$": {
"type": "string",
"description": "Item value string."
}
},
"required": [
"@code",
"$"
],
"description": "`Ie: ES - Spain.`"
},
"coordinates": {
"type": "string"
}
},
"required": [
"address",
"city",
"postalCode",
"countrySubdivision",
"country"
]
}
},
"required": [
"@id",
"name",
"nif",
"email",
"phoneNumber",
"timeZone"
]
},
"promotor": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Onebox internal unique identifier."
},
"corporateName": {
"type": "string"
},
"fiscalCode": {
"type": "string",
"description": "Tax/Vat unique identifier number."
},
"email": {
"type": "string"
},
"phoneNumber": {
"type": "string"
},
"location": {
"type": "object",
"properties": {
"address": {
"type": "string",
"description": "Venue address where the event will be performed."
},
"city": {
"type": "string",
"description": "City where the event will be performed."
},
"postalCode": {
"type": "string",
"description": "Postal code or zip code where the event will be performed."
},
"countrySubdivision": {
"type": "object",
"properties": {
"@code": {
"type": "string",
"description": "Item unique identifier."
},
"$": {
"type": "string",
"description": "Item value string."
}
},
"required": [
"@code",
"$"
],
"description": "`Country subdivision, this shall be the province, state or county. Ie: ES-T - Tarragona.`"
},
"country": {
"type": "object",
"properties": {
"@code": {
"type": "string",
"description": "Item unique identifier."
},
"$": {
"type": "string",
"description": "Item value string."
}
},
"required": [
"@code",
"$"
],
"description": "`Ie: ES - Spain.`"
},
"coordinates": {
"type": "string"
}
},
"required": [
"address",
"city",
"postalCode",
"countrySubdivision",
"country"
]
}
},
"required": [
"@id",
"corporateName",
"fiscalCode",
"email",
"phoneNumber"
]
},
"tour": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Onebox internal unique identifier."
},
"name": {
"type": "string",
"description": "Tour name."
},
"promotorReference": {
"type": "string",
"description": "Promotor reference."
}
},
"required": [
"@id",
"name",
"promotorReference"
]
},
"severalVenues": {
"type": "boolean",
"description": "Is the event performed in different venues?"
},
"severalLocations": {
"type": "boolean",
"description": "Is the event perfomed in different locations?"
},
"supraEvent": {
"type": "boolean",
"description": "Is the event a sibling from another parent event?"
},
"giftTicket": {
"type": "boolean",
"description": "Has this event free entrance tickets allowed?"
},
"nominal": {
"type": "boolean",
"description": "Has the ticket to indicate the owner name / surname / id details?"
},
"eventType": {
"type": "string",
"enum": [
"EVENT",
"ACTIVITY"
]
},
"attribute-values": {
"type": "array",
"items": {
"type": "object",
"properties": {
"attribute-info": {
"type": "object",
"properties": {
"id": {
"type": "number",
"description": "Unique identifier."
},
"name": {
"type": "string"
},
"selection": {
"type": "string",
"enum": [
"SINGLE",
"MULTIPLE"
]
},
"domain-value-info": {
"type": "array",
"items": {
"type": "object",
"properties": {
"idValue": {
"type": "number",
"description": "Unique identifier."
},
"value": {
"type": "string"
},
"referenceCode": {
"type": "string"
}
},
"required": [
"idValue",
"value",
"referenceCode"
]
}
},
"domain": {
"type": "string",
"enum": [
"EVENT",
"SESSION",
"GROUP",
"PROFILE"
]
},
"valueType": {
"type": "string",
"enum": [
"USER_INPUT_INTEGER",
"USER_INPUT_STRING",
"DOMAIN_VALUE"
]
},
"referenceCode": {
"type": "string"
}
},
"required": [
"id",
"name",
"selection",
"domain-value-info",
"domain",
"valueType",
"referenceCode"
]
},
"attribute-value": {
"type": "array",
"items": {
"type": "object",
"properties": {
"user-input-value": {
"type": "object",
"properties": {},
"description": "Unique identifier."
},
"domain-value": {
"type": "object",
"properties": {
"value": {
"type": "string"
},
"idValue": {
"type": "number"
}
},
"required": [
"value"
],
"description": "Unique identifier."
}
}
}
},
"idAttribute": {
"type": "number"
},
"description": {
"type": "string"
}
},
"required": [
"attribute-info",
"attribute-value"
]
}
},
"passbookPreferences": {
"type": [
"object",
"null"
],
"properties": {
"communication-elements": {
"type": "object",
"properties": {
"@language": {
"type": "string",
"description": "Indicates the language of the communitacion event details."
},
"images": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`Image categorization, ie: LOGO_WEB, IMG_BANNER_WEB, IMG_BODY_WEB.`"
},
"@order": {
"type": "number",
"description": "Indicates just the order/priority in case of same type. This number is unique."
},
"$": {
"type": "string",
"description": "Absolute path to the image file."
}
},
"required": [
"@type",
"@order",
"$"
]
},
"description": "List of related images as banners, logo's, backgrounds..."
},
"videos": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`Video categorization.`"
},
"$": {
"type": "string",
"description": "Absolute path to the video file."
}
},
"required": [
"@type",
"$"
]
},
"description": "List of related images as banners, logo's, backgrounds..."
},
"files": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`File categorization.`"
},
"$": {
"type": "string",
"description": "Absolute path to the file."
}
},
"required": [
"@type",
"$"
]
},
"description": "List of related images as banners, logo's, backgrounds..."
},
"banners": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`Banner categorization, ie: CHANNEL_PURCHASE_HEADER_BANNER, CHANNEL_PURCHASE_BANNER, PROMOTER_PURCHASE_BANNER`"
},
"imageUrl": {
"type": "string",
"description": "Absolute path to the banner image file."
},
"linkUrl": {
"type": "string",
"description": "Direct link to the promotional site just in case."
}
},
"required": [
"@type",
"imageUrl"
]
},
"description": "List of related banners to put into a website, pdf, ticket..."
}
},
"required": [
"@language"
]
},
"textColor": {
"type": "string"
},
"labelColor": {
"type": "string"
},
"backgroundColor": {
"type": "string"
}
}
},
"clientEventDiscount": {
"type": "object",
"properties": {
"discountType": {
"type": "string",
"enum": [
"AMOUNT",
"PERCENT"
]
},
"discount": {
"type": "number"
}
},
"required": [
"discountType"
]
}
},
"required": [
"@id",
"internalName",
"externalReferenceCode",
"title",
"subtitle",
"shortDescription",
"longDescription",
"additionalEventData",
"duration",
"severalVenues",
"severalLocations",
"supraEvent",
"giftTicket",
"nominal",
"eventType",
"passbookPreferences"
]
},
"forSale": {
"type": "boolean",
"description": "Indicates the event is whether on sale or not."
},
"blockingReasons": {
"type": "string"
},
"hasProducts": {
"type": "boolean",
"description": "For Onebox box office purposes only."
},
"admission": {
"type": "string",
"enum": [
"ALL_AGES_ADMITTED",
"NOT_ADMITTED_UNDER_4",
"NOT_ADMITTED_UNDER_7",
"NOT_ADMITTED_UNDER_8",
"NOT_ADMITTED_UNDER_12",
"NOT_ADMITTED_UNDER_13",
"NOT_ADMITTED_UNDER_14",
"NOT_ADMITTED_UNDER_16",
"NOT_ADMITTED_UNDER_18",
"NOT_ADMITTED_UNDER_21"
],
"description": "Filter the age range to be admitted as an attendant."
},
"supportedEventType": {
"type": "string",
"enum": [
"EVENT",
"ACTIVITY"
]
},
"supportedVisitorType": {
"type": "string",
"enum": [
"INDIVIDUAL",
"GROUP",
"MIXED"
]
},
"attribute-values": {
"type": "array",
"items": {
"type": "object",
"properties": {
"attribute-info": {
"type": "object",
"properties": {
"id": {
"type": "number",
"description": "Unique identifier."
},
"name": {
"type": "string"
},
"selection": {
"type": "string",
"enum": [
"SINGLE",
"MULTIPLE"
]
},
"domain-value-info": {
"type": "array",
"items": {
"type": "object",
"properties": {
"idValue": {
"type": "number",
"description": "Unique identifier."
},
"value": {
"type": "string"
},
"referenceCode": {
"type": "string"
}
},
"required": [
"idValue",
"value",
"referenceCode"
]
}
},
"domain": {
"type": "string",
"enum": [
"EVENT",
"SESSION",
"GROUP",
"PROFILE"
]
},
"valueType": {
"type": "string",
"enum": [
"USER_INPUT_INTEGER",
"USER_INPUT_STRING",
"DOMAIN_VALUE"
]
},
"referenceCode": {
"type": "string"
}
},
"required": [
"id",
"name",
"selection",
"domain-value-info",
"domain",
"valueType",
"referenceCode"
]
},
"attribute-value": {
"type": "array",
"items": {
"type": "object",
"properties": {
"user-input-value": {
"type": "object",
"properties": {},
"description": "Unique identifier."
},
"domain-value": {
"type": "object",
"properties": {
"value": {
"type": "string"
},
"idValue": {
"type": "number"
}
},
"required": [
"value"
],
"description": "Unique identifier."
}
}
}
},
"idAttribute": {
"type": "number"
},
"description": {
"type": "string"
}
},
"required": [
"attribute-info",
"attribute-value"
]
}
},
"visitorGroupConfig": {
"type": "string"
},
"hideSessionDates": {
"type": "boolean",
"description": "For Onebox box office purposes only."
},
"showDate": {
"type": "boolean",
"description": "For Onebox box office purposes only."
},
"showDatetime": {
"type": "boolean",
"description": "For Onebox box office purposes only."
},
"@rates": {
"type": "string",
"description": "Rate description identifier."
},
"season-session-info": {
"type": "object",
"properties": {},
"description": "Avoided loop. Object just like your ancestor 'season-session-info'"
}
},
"required": [
"@id",
"internalName",
"name",
"description",
"venue",
"space",
"event-basic-info",
"blockingReasons",
"admission",
"supportedEventType",
"supportedVisitorType",
"hideSessionDates",
"showDate",
"showDatetime",
"@rates",
"season-session-info"
]
},
"@isSeasonSession": {
"type": "number",
"description": "Unique season session identifier."
}
},
"required": [
"seasonSessions",
"@isSeasonSession"
]
}
},
"required": [
"@id",
"internalName",
"name",
"description",
"venue",
"space",
"event-basic-info",
"blockingReasons",
"admission",
"supportedEventType",
"supportedVisitorType",
"hideSessionDates",
"showDate",
"showDatetime",
"@rates",
"season-session-info"
]
},
"automatic-promotion": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique identifier."
},
"promotionComElements": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"description": {
"type": "string"
}
}
}
},
"required": [
"@id"
]
},
"promotion": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique identifier."
},
"activator": {
"type": "string"
},
"promotionComElements": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"description": {
"type": "string"
}
}
}
},
"required": [
"@id"
]
},
"discount": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique identifier."
},
"activator": {
"type": "string"
},
"promotionComElements": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"description": {
"type": "string"
}
}
}
},
"required": [
"@id"
]
},
"viewId": {
"type": "number"
},
"notNumberedAreaId": {
"type": "number"
},
"sectorId": {
"type": "number"
},
"priceZoneId": {
"type": "number"
},
"access": {
"type": "string"
},
"idTicketActivityType": {
"type": "number"
},
"nameTicketActivityType": {
"type": "string"
},
"externalData": {
"type": "object",
"properties": {
"access": {
"type": "string"
},
"gate": {
"type": "string"
},
"entrance": {
"type": "string"
},
"zone": {
"type": "string"
}
}
},
"idVisitorGroup": {
"type": "number"
},
"visitorGroupNumAttendantsVariation": {
"type": "number"
},
"visitorGroupNumAccompanistsVariation": {
"type": "number"
},
"@seatType": {
"type": "string",
"enum": [
"NUMBERED",
"NOT_NUMBERED"
]
},
"@ticketType": {
"type": "string",
"enum": [
"GENERAL",
"INVITATION"
]
}
},
"required": [
"session-basic-info",
"@seatType",
"@ticketType"
]
},
"product-data": {
"type": "object",
"properties": {
"venue": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Onebox internal venue unique identifier."
},
"@name": {
"type": "string",
"description": "Public venue name."
},
"@timeZone": {
"type": "string",
"description": "Define the time zone worldwide from UTC."
},
"communication-elements": {
"type": "object",
"properties": {
"@language": {
"type": "string",
"description": "Indicates the language of the communitacion event details."
},
"images": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`Image categorization, ie: LOGO_WEB, IMG_BANNER_WEB, IMG_BODY_WEB.`"
},
"@order": {
"type": "number",
"description": "Indicates just the order/priority in case of same type. This number is unique."
},
"$": {
"type": "string",
"description": "Absolute path to the image file."
}
},
"required": [
"@type",
"@order",
"$"
]
},
"description": "List of related images as banners, logo's, backgrounds..."
},
"videos": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`Video categorization.`"
},
"$": {
"type": "string",
"description": "Absolute path to the video file."
}
},
"required": [
"@type",
"$"
]
},
"description": "List of related images as banners, logo's, backgrounds..."
},
"files": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`File categorization.`"
},
"$": {
"type": "string",
"description": "Absolute path to the file."
}
},
"required": [
"@type",
"$"
]
},
"description": "List of related images as banners, logo's, backgrounds..."
},
"banners": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`Banner categorization, ie: CHANNEL_PURCHASE_HEADER_BANNER, CHANNEL_PURCHASE_BANNER, PROMOTER_PURCHASE_BANNER`"
},
"imageUrl": {
"type": "string",
"description": "Absolute path to the banner image file."
},
"linkUrl": {
"type": "string",
"description": "Direct link to the promotional site just in case."
}
},
"required": [
"@type",
"imageUrl"
]
},
"description": "List of related banners to put into a website, pdf, ticket..."
}
},
"required": [
"@language"
]
},
"location": {
"type": "object",
"properties": {
"address": {
"type": "string",
"description": "Venue address where the event will be performed."
},
"city": {
"type": "string",
"description": "City where the event will be performed."
},
"postalCode": {
"type": "string",
"description": "Postal code or zip code where the event will be performed."
},
"countrySubdivision": {
"type": "object",
"properties": {
"@code": {
"type": "string",
"description": "Item unique identifier."
},
"$": {
"type": "string",
"description": "Item value string."
}
},
"required": [
"@code",
"$"
],
"description": "`Country subdivision, this shall be the province, state or county. Ie: ES-T - Tarragona.`"
},
"country": {
"type": "object",
"properties": {
"@code": {
"type": "string",
"description": "Item unique identifier."
},
"$": {
"type": "string",
"description": "Item value string."
}
},
"required": [
"@code",
"$"
],
"description": "`Ie: ES - Spain.`"
},
"coordinates": {
"type": "string"
}
},
"required": [
"address",
"city",
"postalCode",
"countrySubdivision",
"country"
]
}
},
"required": [
"@id",
"@name"
]
},
"product-info": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique product identifier."
},
"internalName": {
"type": "string"
},
"name": {
"type": "string"
},
"dates": {
"type": "object",
"properties": {
"datetime": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"enum": [
"EVENT_BEGIN",
"EVENT_END",
"SESSION_BEGIN",
"SESSION_END",
"SESSION_SALES_BEGIN",
"SESSION_SALES_END",
"PRODUCT_SALES",
"PRODUCT_SALES_END",
"SESSION_PUBLISHED",
"PROMOTION_BEGIN",
"PROMOTION_END",
"SEASON_TICKET_HOLDER_BEGIN",
"SEASON_TICKET_HOLDER_END"
],
"description": "Define the date meaning possibilites."
},
"@pendingConfirmation": {
"type": "boolean",
"description": "Says whether the date is finally commited or not."
},
"@timeZoneId": {
"type": "string",
"description": "Define the time zone worldwide from UTC."
},
"$": {
"type": "string",
"description": "XmlGregorianCalendar representation of the given date."
}
}
}
}
}
},
"venue": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Onebox internal venue unique identifier."
},
"@name": {
"type": "string",
"description": "Public venue name."
},
"@timeZone": {
"type": "string",
"description": "Define the time zone worldwide from UTC."
},
"communication-elements": {
"type": "object",
"properties": {
"@language": {
"type": "string",
"description": "Indicates the language of the communitacion event details."
},
"images": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`Image categorization, ie: LOGO_WEB, IMG_BANNER_WEB, IMG_BODY_WEB.`"
},
"@order": {
"type": "number",
"description": "Indicates just the order/priority in case of same type. This number is unique."
},
"$": {
"type": "string",
"description": "Absolute path to the image file."
}
},
"required": [
"@type",
"@order",
"$"
]
},
"description": "List of related images as banners, logo's, backgrounds..."
},
"videos": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`Video categorization.`"
},
"$": {
"type": "string",
"description": "Absolute path to the video file."
}
},
"required": [
"@type",
"$"
]
},
"description": "List of related images as banners, logo's, backgrounds..."
},
"files": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`File categorization.`"
},
"$": {
"type": "string",
"description": "Absolute path to the file."
}
},
"required": [
"@type",
"$"
]
},
"description": "List of related images as banners, logo's, backgrounds..."
},
"banners": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`Banner categorization, ie: CHANNEL_PURCHASE_HEADER_BANNER, CHANNEL_PURCHASE_BANNER, PROMOTER_PURCHASE_BANNER`"
},
"imageUrl": {
"type": "string",
"description": "Absolute path to the banner image file."
},
"linkUrl": {
"type": "string",
"description": "Direct link to the promotional site just in case."
}
},
"required": [
"@type",
"imageUrl"
]
},
"description": "List of related banners to put into a website, pdf, ticket..."
}
},
"required": [
"@language"
]
},
"location": {
"type": "object",
"properties": {
"address": {
"type": "string",
"description": "Venue address where the event will be performed."
},
"city": {
"type": "string",
"description": "City where the event will be performed."
},
"postalCode": {
"type": "string",
"description": "Postal code or zip code where the event will be performed."
},
"countrySubdivision": {
"type": "object",
"properties": {
"@code": {
"type": "string",
"description": "Item unique identifier."
},
"$": {
"type": "string",
"description": "Item value string."
}
},
"required": [
"@code",
"$"
],
"description": "`Country subdivision, this shall be the province, state or county. Ie: ES-T - Tarragona.`"
},
"country": {
"type": "object",
"properties": {
"@code": {
"type": "string",
"description": "Item unique identifier."
},
"$": {
"type": "string",
"description": "Item value string."
}
},
"required": [
"@code",
"$"
],
"description": "`Ie: ES - Spain.`"
},
"coordinates": {
"type": "string"
}
},
"required": [
"address",
"city",
"postalCode",
"countrySubdivision",
"country"
]
}
},
"required": [
"@id",
"@name"
]
},
"catalog-info": {
"type": "object",
"properties": {
"entityId": {
"type": "number"
},
"name": {
"type": "string"
}
},
"required": [
"name"
]
},
"attributes": {
"type": "object",
"properties": {
"attribute": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique attribute identifier."
},
"name": {
"type": "string"
}
},
"required": [
"@id",
"name"
]
}
}
},
"required": [
"attribute"
]
},
"product-image": {
"type": "array",
"items": {
"type": "object",
"properties": {}
}
},
"forSale": {
"type": "boolean"
},
"bookable": {
"type": "boolean"
},
"product-variant": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "number",
"description": "Unique product variant identifier."
},
"sku": {
"type": "string"
},
"price-breakdown": {
"type": "object",
"properties": {
"base-price": {
"type": "number"
},
"automatic-promotion": {
"type": "number"
},
"manual-promotion": {
"type": "number"
},
"manual-discount": {
"type": "number"
},
"client-discount": {
"type": "number"
},
"client-comission": {
"type": "number"
},
"charges": {
"type": "object",
"properties": {
"charge": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"enum": [
"CHANNEL_CHARGE",
"PROMOTER_CHARGE",
"PROMOTER_CHANNEL_CHARGE"
]
},
"value 1.5": {
"type": "number",
"description": "Value of the charge."
}
},
"required": [
"value 1.5"
]
}
}
},
"required": [
"charge"
]
},
"delivery-costs": {
"type": "number"
},
"insurance": {
"type": "number"
},
"taxes": {
"type": "object",
"properties": {
"tax": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique product identifier."
},
"value": {
"type": "number"
}
},
"required": [
"@id",
"value"
]
}
}
},
"required": [
"tax"
]
},
"final-price": {
"type": "number"
}
},
"required": [
"base-price",
"final-price"
]
},
"limited-stock": {
"type": "boolean"
},
"variant-availability": {
"type": "number"
},
"variant-attributes": {
"type": "object",
"properties": {
"variant-attribute": {
"type": "array",
"items": {
"type": "object",
"properties": {
"attribute": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique attribute identifier."
},
"name": {
"type": "string"
}
},
"required": [
"@id",
"name"
]
},
"value": {
"type": "string"
}
},
"required": [
"attribute",
"value"
]
}
}
},
"required": [
"variant-attribute"
]
},
"venue": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Onebox internal venue unique identifier."
},
"@name": {
"type": "string",
"description": "Public venue name."
},
"@timeZone": {
"type": "string",
"description": "Define the time zone worldwide from UTC."
},
"communication-elements": {
"type": "object",
"properties": {
"@language": {
"type": "string",
"description": "Indicates the language of the communitacion event details."
},
"images": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`Image categorization, ie: LOGO_WEB, IMG_BANNER_WEB, IMG_BODY_WEB.`"
},
"@order": {
"type": "number",
"description": "Indicates just the order/priority in case of same type. This number is unique."
},
"$": {
"type": "string",
"description": "Absolute path to the image file."
}
},
"required": [
"@type",
"@order",
"$"
]
},
"description": "List of related images as banners, logo's, backgrounds..."
},
"videos": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`Video categorization.`"
},
"$": {
"type": "string",
"description": "Absolute path to the video file."
}
},
"required": [
"@type",
"$"
]
},
"description": "List of related images as banners, logo's, backgrounds..."
},
"files": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`File categorization.`"
},
"$": {
"type": "string",
"description": "Absolute path to the file."
}
},
"required": [
"@type",
"$"
]
},
"description": "List of related images as banners, logo's, backgrounds..."
},
"banners": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`Banner categorization, ie: CHANNEL_PURCHASE_HEADER_BANNER, CHANNEL_PURCHASE_BANNER, PROMOTER_PURCHASE_BANNER`"
},
"imageUrl": {
"type": "string",
"description": "Absolute path to the banner image file."
},
"linkUrl": {
"type": "string",
"description": "Direct link to the promotional site just in case."
}
},
"required": [
"@type",
"imageUrl"
]
},
"description": "List of related banners to put into a website, pdf, ticket..."
}
},
"required": [
"@language"
]
},
"location": {
"type": "object",
"properties": {
"address": {
"type": "string",
"description": "Venue address where the event will be performed."
},
"city": {
"type": "string",
"description": "City where the event will be performed."
},
"postalCode": {
"type": "string",
"description": "Postal code or zip code where the event will be performed."
},
"countrySubdivision": {
"type": "object",
"properties": {
"@code": {
"type": "string",
"description": "Item unique identifier."
},
"$": {
"type": "string",
"description": "Item value string."
}
},
"required": [
"@code",
"$"
],
"description": "`Country subdivision, this shall be the province, state or county. Ie: ES-T - Tarragona.`"
},
"country": {
"type": "object",
"properties": {
"@code": {
"type": "string",
"description": "Item unique identifier."
},
"$": {
"type": "string",
"description": "Item value string."
}
},
"required": [
"@code",
"$"
],
"description": "`Ie: ES - Spain.`"
},
"coordinates": {
"type": "string"
}
},
"required": [
"address",
"city",
"postalCode",
"countrySubdivision",
"country"
]
}
},
"required": [
"@id",
"@name"
]
},
"catalog-info": {
"type": "object",
"properties": {
"entityId": {
"type": "number"
},
"name": {
"type": "string"
}
},
"required": [
"name"
]
},
"product-info": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique product identifier."
},
"internalName": {
"type": "string"
},
"name": {
"type": "string"
},
"dates": {
"type": "object",
"properties": {
"datetime": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"enum": [
"EVENT_BEGIN",
"EVENT_END",
"SESSION_BEGIN",
"SESSION_END",
"SESSION_SALES_BEGIN",
"SESSION_SALES_END",
"PRODUCT_SALES",
"PRODUCT_SALES_END",
"SESSION_PUBLISHED",
"PROMOTION_BEGIN",
"PROMOTION_END",
"SEASON_TICKET_HOLDER_BEGIN",
"SEASON_TICKET_HOLDER_END"
],
"description": "Define the date meaning possibilites."
},
"@pendingConfirmation": {
"type": "boolean",
"description": "Says whether the date is finally commited or not."
},
"@timeZoneId": {
"type": "string",
"description": "Define the time zone worldwide from UTC."
},
"$": {
"type": "string",
"description": "XmlGregorianCalendar representation of the given date."
}
}
}
}
}
},
"venue": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Onebox internal venue unique identifier."
},
"@name": {
"type": "string",
"description": "Public venue name."
},
"@timeZone": {
"type": "string",
"description": "Define the time zone worldwide from UTC."
},
"communication-elements": {
"type": "object",
"properties": {
"@language": {
"type": "string",
"description": "Indicates the language of the communitacion event details."
},
"images": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`Image categorization, ie: LOGO_WEB, IMG_BANNER_WEB, IMG_BODY_WEB.`"
},
"@order": {
"type": "number",
"description": "Indicates just the order/priority in case of same type. This number is unique."
},
"$": {
"type": "string",
"description": "Absolute path to the image file."
}
},
"required": [
"@type",
"@order",
"$"
]
},
"description": "List of related images as banners, logo's, backgrounds..."
},
"videos": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`Video categorization.`"
},
"$": {
"type": "string",
"description": "Absolute path to the video file."
}
},
"required": [
"@type",
"$"
]
},
"description": "List of related images as banners, logo's, backgrounds..."
},
"files": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`File categorization.`"
},
"$": {
"type": "string",
"description": "Absolute path to the file."
}
},
"required": [
"@type",
"$"
]
},
"description": "List of related images as banners, logo's, backgrounds..."
},
"banners": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`Banner categorization, ie: CHANNEL_PURCHASE_HEADER_BANNER, CHANNEL_PURCHASE_BANNER, PROMOTER_PURCHASE_BANNER`"
},
"imageUrl": {
"type": "string",
"description": "Absolute path to the banner image file."
},
"linkUrl": {
"type": "string",
"description": "Direct link to the promotional site just in case."
}
},
"required": [
"@type",
"imageUrl"
]
},
"description": "List of related banners to put into a website, pdf, ticket..."
}
},
"required": [
"@language"
]
},
"location": {
"type": "object",
"properties": {
"address": {
"type": "string",
"description": "Venue address where the event will be performed."
},
"city": {
"type": "string",
"description": "City where the event will be performed."
},
"postalCode": {
"type": "string",
"description": "Postal code or zip code where the event will be performed."
},
"countrySubdivision": {
"type": "object",
"properties": {
"@code": {
"type": "string",
"description": "Item unique identifier."
},
"$": {
"type": "string",
"description": "Item value string."
}
},
"required": [
"@code",
"$"
],
"description": "`Country subdivision, this shall be the province, state or county. Ie: ES-T - Tarragona.`"
},
"country": {
"type": "object",
"properties": {
"@code": {
"type": "string",
"description": "Item unique identifier."
},
"$": {
"type": "string",
"description": "Item value string."
}
},
"required": [
"@code",
"$"
],
"description": "`Ie: ES - Spain.`"
},
"coordinates": {
"type": "string"
}
},
"required": [
"address",
"city",
"postalCode",
"countrySubdivision",
"country"
]
}
},
"required": [
"@id",
"@name"
]
},
"catalog-info": {
"type": "object",
"properties": {
"entityId": {
"type": "number"
},
"name": {
"type": "string"
}
},
"required": [
"name"
]
},
"attributes": {
"type": "object",
"properties": {
"attribute": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique attribute identifier."
},
"name": {
"type": "string"
}
},
"required": [
"@id",
"name"
]
}
}
},
"required": [
"attribute"
]
},
"product-image": {
"type": "array",
"items": {
"type": "object",
"properties": {}
}
},
"forSale": {
"type": "boolean"
},
"bookable": {
"type": "boolean"
},
"product-variant": {
"type": "array",
"items": {
"type": "object",
"properties": {}
},
"description": "Avoided loop. Object just like your ancestor 'product-info'"
}
},
"required": [
"@id",
"internalName",
"name",
"venue",
"catalog-info",
"attributes",
"product-image",
"product-variant"
]
}
},
"required": [
"id",
"price-breakdown",
"venue",
"catalog-info",
"product-info"
]
}
}
},
"required": [
"@id",
"internalName",
"name",
"venue",
"catalog-info",
"attributes",
"product-image",
"product-variant"
]
},
"variant-attributes": {
"type": "object",
"properties": {
"variant-attribute": {
"type": "array",
"items": {
"type": "object",
"properties": {
"attribute": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique attribute identifier."
},
"name": {
"type": "string"
}
},
"required": [
"@id",
"name"
]
},
"value": {
"type": "string"
}
},
"required": [
"attribute",
"value"
]
}
}
},
"required": [
"variant-attribute"
]
},
"printouts": {
"type": "number"
},
"cancellations": {
"type": "number"
},
"status": {
"type": "string",
"enum": [
"PURCHASED",
"REFUND",
"PREORDER",
"CONFIRMED",
"INVITATION"
]
},
"sku": {
"type": "string"
},
"customer": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique customer identifier."
},
"name": {
"type": "string"
},
"lastname": {
"type": "string"
},
"$": {
"type": "string"
},
"email": {
"type": "string"
},
"receiptMail": {
"type": "string"
},
"ticketMail": {
"type": "string"
},
"phone": {
"type": "string"
},
"identification": {
"type": "object",
"properties": {
"value": {
"type": "string"
},
"@type": {
"type": "string"
}
},
"required": [
"value",
"@type"
]
},
"gender": {
"type": "string",
"enum": [
"NOT_DEFINED",
"MALE",
"FEMALE"
]
},
"location": {
"type": "object",
"properties": {
"address": {
"type": "string",
"description": "Venue address where the event will be performed."
},
"city": {
"type": "string",
"description": "City where the event will be performed."
},
"postalCode": {
"type": "string",
"description": "Postal code or zip code where the event will be performed."
},
"countrySubdivision": {
"type": "object",
"properties": {
"@code": {
"type": "string",
"description": "Item unique identifier."
},
"$": {
"type": "string",
"description": "Item value string."
}
},
"required": [
"@code",
"$"
],
"description": "`Country subdivision, this shall be the province, state or county. Ie: ES-T - Tarragona.`"
},
"country": {
"type": "object",
"properties": {
"@code": {
"type": "string",
"description": "Item unique identifier."
},
"$": {
"type": "string",
"description": "Item value string."
}
},
"required": [
"@code",
"$"
],
"description": "`Ie: ES - Spain.`"
},
"coordinates": {
"type": "string"
}
},
"required": [
"address",
"city",
"postalCode",
"countrySubdivision",
"country"
]
},
"idCard": {
"type": "string"
},
"docType": {
"type": "number"
},
"profile-data": {
"type": "object",
"properties": {
"@`profile-id`": {
"type": "number",
"description": "Unique profile data identifier."
},
"profile-field": {
"type": "array"
}
},
"required": [
"@`profile-id`"
]
},
"language": {
"type": "object",
"properties": {
"value": {
"type": "string"
},
"@code": {
"type": "string"
}
},
"required": [
"value",
"@code"
]
},
"groupValidation": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@idGroup": {
"type": "number",
"description": "Unique group validation identifier."
},
"user": {
"type": "string"
},
"promotionalCode": {
"type": "string"
},
"externalProperties": {
"type": "object",
"properties": {
"externalId": {
"type": "string"
}
}
}
},
"required": [
"@idGroup",
"user",
"promotionalCode"
]
}
},
"allowCommercialMailing": {
"type": "boolean"
}
},
"required": [
"@id",
"name",
"lastname",
"$",
"gender",
"location"
]
},
"session-basic-info": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "`Onebox session/performance unique identifier.`"
},
"internalName": {
"type": "string",
"description": "Product internal description name."
},
"name": {
"type": "string",
"description": "Public product name depending on the language requestd."
},
"description": {
"type": "string",
"description": "Session description"
},
"dates": {
"type": "object",
"properties": {
"datetime": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"enum": [
"EVENT_BEGIN",
"EVENT_END",
"SESSION_BEGIN",
"SESSION_END",
"SESSION_SALES_BEGIN",
"SESSION_SALES_END",
"PRODUCT_SALES",
"PRODUCT_SALES_END",
"SESSION_PUBLISHED",
"PROMOTION_BEGIN",
"PROMOTION_END",
"SEASON_TICKET_HOLDER_BEGIN",
"SEASON_TICKET_HOLDER_END"
],
"description": "Define the date meaning possibilites."
},
"@pendingConfirmation": {
"type": "boolean",
"description": "Says whether the date is finally commited or not."
},
"@timeZoneId": {
"type": "string",
"description": "Define the time zone worldwide from UTC."
},
"$": {
"type": "string",
"description": "XmlGregorianCalendar representation of the given date."
}
}
}
}
}
},
"venue": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Onebox internal venue unique identifier."
},
"@name": {
"type": "string",
"description": "Public venue name."
},
"@timeZone": {
"type": "string",
"description": "Define the time zone worldwide from UTC."
},
"communication-elements": {
"type": "object",
"properties": {
"@language": {
"type": "string",
"description": "Indicates the language of the communitacion event details."
},
"images": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`Image categorization, ie: LOGO_WEB, IMG_BANNER_WEB, IMG_BODY_WEB.`"
},
"@order": {
"type": "number",
"description": "Indicates just the order/priority in case of same type. This number is unique."
},
"$": {
"type": "string",
"description": "Absolute path to the image file."
}
},
"required": [
"@type",
"@order",
"$"
]
},
"description": "List of related images as banners, logo's, backgrounds..."
},
"videos": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`Video categorization.`"
},
"$": {
"type": "string",
"description": "Absolute path to the video file."
}
},
"required": [
"@type",
"$"
]
},
"description": "List of related images as banners, logo's, backgrounds..."
},
"files": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`File categorization.`"
},
"$": {
"type": "string",
"description": "Absolute path to the file."
}
},
"required": [
"@type",
"$"
]
},
"description": "List of related images as banners, logo's, backgrounds..."
},
"banners": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`Banner categorization, ie: CHANNEL_PURCHASE_HEADER_BANNER, CHANNEL_PURCHASE_BANNER, PROMOTER_PURCHASE_BANNER`"
},
"imageUrl": {
"type": "string",
"description": "Absolute path to the banner image file."
},
"linkUrl": {
"type": "string",
"description": "Direct link to the promotional site just in case."
}
},
"required": [
"@type",
"imageUrl"
]
},
"description": "List of related banners to put into a website, pdf, ticket..."
}
},
"required": [
"@language"
]
},
"location": {
"type": "object",
"properties": {
"address": {
"type": "string",
"description": "Venue address where the event will be performed."
},
"city": {
"type": "string",
"description": "City where the event will be performed."
},
"postalCode": {
"type": "string",
"description": "Postal code or zip code where the event will be performed."
},
"countrySubdivision": {
"type": "object",
"properties": {
"@code": {
"type": "string",
"description": "Item unique identifier."
},
"$": {
"type": "string",
"description": "Item value string."
}
},
"required": [
"@code",
"$"
],
"description": "`Country subdivision, this shall be the province, state or county. Ie: ES-T - Tarragona.`"
},
"country": {
"type": "object",
"properties": {
"@code": {
"type": "string",
"description": "Item unique identifier."
},
"$": {
"type": "string",
"description": "Item value string."
}
},
"required": [
"@code",
"$"
],
"description": "`Ie: ES - Spain.`"
},
"coordinates": {
"type": "string"
}
},
"required": [
"address",
"city",
"postalCode",
"countrySubdivision",
"country"
]
}
},
"required": [
"@id",
"@name"
]
},
"space": {
"type": "object",
"properties": {
"id": {
"type": "number",
"description": "Unique space identifier."
},
"name": {
"type": "string",
"description": "Space name."
}
}
},
"event-basic-info": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique identifier for each event/activity product."
},
"internalName": {
"type": "string",
"description": "Product internal description name."
},
"externalReferenceCode": {
"type": "string",
"description": "In case of product from 3rd party suppliers, those came with its own reference."
},
"title": {
"type": "string",
"description": "Event main title"
},
"subtitle": {
"type": "string",
"description": "Event secondary title"
},
"shortDescription": {
"type": "string",
"description": "Event short description"
},
"longDescription": {
"type": "string",
"description": "Event detailed description"
},
"additionalEventData": {
"type": "string"
},
"duration": {
"type": "string"
},
"communication-elements": {
"type": "object",
"properties": {
"@language": {
"type": "string",
"description": "Indicates the language of the communitacion event details."
},
"images": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`Image categorization, ie: LOGO_WEB, IMG_BANNER_WEB, IMG_BODY_WEB.`"
},
"@order": {
"type": "number",
"description": "Indicates just the order/priority in case of same type. This number is unique."
},
"$": {
"type": "string",
"description": "Absolute path to the image file."
}
},
"required": [
"@type",
"@order",
"$"
]
},
"description": "List of related images as banners, logo's, backgrounds..."
},
"videos": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`Video categorization.`"
},
"$": {
"type": "string",
"description": "Absolute path to the video file."
}
},
"required": [
"@type",
"$"
]
},
"description": "List of related images as banners, logo's, backgrounds..."
},
"files": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`File categorization.`"
},
"$": {
"type": "string",
"description": "Absolute path to the file."
}
},
"required": [
"@type",
"$"
]
},
"description": "List of related images as banners, logo's, backgrounds..."
},
"banners": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`Banner categorization, ie: CHANNEL_PURCHASE_HEADER_BANNER, CHANNEL_PURCHASE_BANNER, PROMOTER_PURCHASE_BANNER`"
},
"imageUrl": {
"type": "string",
"description": "Absolute path to the banner image file."
},
"linkUrl": {
"type": "string",
"description": "Direct link to the promotional site just in case."
}
},
"required": [
"@type",
"imageUrl"
]
},
"description": "List of related banners to put into a website, pdf, ticket..."
}
},
"required": [
"@language"
]
},
"taxonomy": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique identifier of this product segmentation."
},
"code": {
"type": "string",
"description": "Unique identifier fo this product segmentation to be used in th API."
},
"description": {
"type": "string",
"description": "Short description to better understand the taxonomy segmentation."
},
"superior-taxonomy": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique identifier of this product segmentation."
},
"code": {
"type": "string",
"description": "Unique identifier fo this product segmentation to be used in th API."
},
"description": {
"type": "string",
"description": "Short description to better understand the taxonomy segmentation."
}
},
"required": [
"@id",
"code"
]
}
},
"required": [
"@id",
"code"
]
},
"custom-taxonomy": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique identifier of this product segmentation."
},
"code": {
"type": "string",
"description": "Unique identifier fo this product segmentation to be used in th API."
},
"description": {
"type": "string",
"description": "Short description to better understand the taxonomy segmentation."
}
},
"required": [
"@id",
"code"
]
},
"promoter-custom-taxonomy": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique identifier of this product segmentation."
},
"code": {
"type": "string",
"description": "Unique identifier fo this product segmentation to be used in th API."
},
"description": {
"type": "string",
"description": "Short description to better understand the taxonomy segmentation."
}
},
"required": [
"@id",
"code"
]
},
"languages": {
"type": "object",
"properties": {
"language": {
"type": "array",
"items": [
{},
{
"type": "string",
"enum": [
"ca_ES",
"es_ES",
"en_US",
"fr_FR",
"it_IT",
"de_DE"
]
}
],
"description": "`List of the available languages for the event descriptions.`"
}
}
},
"dates": {
"type": "object",
"properties": {
"datetime": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"enum": [
"EVENT_BEGIN",
"EVENT_END",
"SESSION_BEGIN",
"SESSION_END",
"SESSION_SALES_BEGIN",
"SESSION_SALES_END",
"PRODUCT_SALES",
"PRODUCT_SALES_END",
"SESSION_PUBLISHED",
"PROMOTION_BEGIN",
"PROMOTION_END",
"SEASON_TICKET_HOLDER_BEGIN",
"SEASON_TICKET_HOLDER_END"
],
"description": "Define the date meaning possibilites."
},
"@pendingConfirmation": {
"type": "boolean",
"description": "Says whether the date is finally commited or not."
},
"@timeZoneId": {
"type": "string",
"description": "Define the time zone worldwide from UTC."
},
"$": {
"type": "string",
"description": "XmlGregorianCalendar representation of the given date."
}
}
}
}
}
},
"entidad": {
"type": "object",
"properties": {
"@id": {
"type": "number"
},
"name": {
"type": "string",
"description": "Promotor/Organizer company name."
},
"nif": {
"type": "string",
"description": "Tax/Vat unique identifier number."
},
"email": {
"type": "string"
},
"phoneNumber": {
"type": "string"
},
"timeZone": {
"type": "string"
},
"location": {
"type": "object",
"properties": {
"address": {
"type": "string",
"description": "Venue address where the event will be performed."
},
"city": {
"type": "string",
"description": "City where the event will be performed."
},
"postalCode": {
"type": "string",
"description": "Postal code or zip code where the event will be performed."
},
"countrySubdivision": {
"type": "object",
"properties": {
"@code": {
"type": "string",
"description": "Item unique identifier."
},
"$": {
"type": "string",
"description": "Item value string."
}
},
"required": [
"@code",
"$"
],
"description": "`Country subdivision, this shall be the province, state or county. Ie: ES-T - Tarragona.`"
},
"country": {
"type": "object",
"properties": {
"@code": {
"type": "string",
"description": "Item unique identifier."
},
"$": {
"type": "string",
"description": "Item value string."
}
},
"required": [
"@code",
"$"
],
"description": "`Ie: ES - Spain.`"
},
"coordinates": {
"type": "string"
}
},
"required": [
"address",
"city",
"postalCode",
"countrySubdivision",
"country"
]
}
},
"required": [
"@id",
"name",
"nif",
"email",
"phoneNumber",
"timeZone"
]
},
"promotor": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Onebox internal unique identifier."
},
"corporateName": {
"type": "string"
},
"fiscalCode": {
"type": "string",
"description": "Tax/Vat unique identifier number."
},
"email": {
"type": "string"
},
"phoneNumber": {
"type": "string"
},
"location": {
"type": "object",
"properties": {
"address": {
"type": "string",
"description": "Venue address where the event will be performed."
},
"city": {
"type": "string",
"description": "City where the event will be performed."
},
"postalCode": {
"type": "string",
"description": "Postal code or zip code where the event will be performed."
},
"countrySubdivision": {
"type": "object",
"properties": {
"@code": {
"type": "string",
"description": "Item unique identifier."
},
"$": {
"type": "string",
"description": "Item value string."
}
},
"required": [
"@code",
"$"
],
"description": "`Country subdivision, this shall be the province, state or county. Ie: ES-T - Tarragona.`"
},
"country": {
"type": "object",
"properties": {
"@code": {
"type": "string",
"description": "Item unique identifier."
},
"$": {
"type": "string",
"description": "Item value string."
}
},
"required": [
"@code",
"$"
],
"description": "`Ie: ES - Spain.`"
},
"coordinates": {
"type": "string"
}
},
"required": [
"address",
"city",
"postalCode",
"countrySubdivision",
"country"
]
}
},
"required": [
"@id",
"corporateName",
"fiscalCode",
"email",
"phoneNumber"
]
},
"tour": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Onebox internal unique identifier."
},
"name": {
"type": "string",
"description": "Tour name."
},
"promotorReference": {
"type": "string",
"description": "Promotor reference."
}
},
"required": [
"@id",
"name",
"promotorReference"
]
},
"severalVenues": {
"type": "boolean",
"description": "Is the event performed in different venues?"
},
"severalLocations": {
"type": "boolean",
"description": "Is the event perfomed in different locations?"
},
"supraEvent": {
"type": "boolean",
"description": "Is the event a sibling from another parent event?"
},
"giftTicket": {
"type": "boolean",
"description": "Has this event free entrance tickets allowed?"
},
"nominal": {
"type": "boolean",
"description": "Has the ticket to indicate the owner name / surname / id details?"
},
"eventType": {
"type": "string",
"enum": [
"EVENT",
"ACTIVITY"
]
},
"attribute-values": {
"type": "array",
"items": {
"type": "object",
"properties": {
"attribute-info": {
"type": "object",
"properties": {
"id": {
"type": "number",
"description": "Unique identifier."
},
"name": {
"type": "string"
},
"selection": {
"type": "string",
"enum": [
"SINGLE",
"MULTIPLE"
]
},
"domain-value-info": {
"type": "array",
"items": {
"type": "object",
"properties": {
"idValue": {
"type": "number",
"description": "Unique identifier."
},
"value": {
"type": "string"
},
"referenceCode": {
"type": "string"
}
},
"required": [
"idValue",
"value",
"referenceCode"
]
}
},
"domain": {
"type": "string",
"enum": [
"EVENT",
"SESSION",
"GROUP",
"PROFILE"
]
},
"valueType": {
"type": "string",
"enum": [
"USER_INPUT_INTEGER",
"USER_INPUT_STRING",
"DOMAIN_VALUE"
]
},
"referenceCode": {
"type": "string"
}
},
"required": [
"id",
"name",
"selection",
"domain-value-info",
"domain",
"valueType",
"referenceCode"
]
},
"attribute-value": {
"type": "array",
"items": {
"type": "object",
"properties": {
"user-input-value": {
"type": "object",
"properties": {},
"description": "Unique identifier."
},
"domain-value": {
"type": "object",
"properties": {
"value": {
"type": "string"
},
"idValue": {
"type": "number"
}
},
"required": [
"value"
],
"description": "Unique identifier."
}
}
}
},
"idAttribute": {
"type": "number"
},
"description": {
"type": "string"
}
},
"required": [
"attribute-info",
"attribute-value"
]
}
},
"passbookPreferences": {
"type": [
"object",
"null"
],
"properties": {
"communication-elements": {
"type": "object",
"properties": {
"@language": {
"type": "string",
"description": "Indicates the language of the communitacion event details."
},
"images": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`Image categorization, ie: LOGO_WEB, IMG_BANNER_WEB, IMG_BODY_WEB.`"
},
"@order": {
"type": "number",
"description": "Indicates just the order/priority in case of same type. This number is unique."
},
"$": {
"type": "string",
"description": "Absolute path to the image file."
}
},
"required": [
"@type",
"@order",
"$"
]
},
"description": "List of related images as banners, logo's, backgrounds..."
},
"videos": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`Video categorization.`"
},
"$": {
"type": "string",
"description": "Absolute path to the video file."
}
},
"required": [
"@type",
"$"
]
},
"description": "List of related images as banners, logo's, backgrounds..."
},
"files": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`File categorization.`"
},
"$": {
"type": "string",
"description": "Absolute path to the file."
}
},
"required": [
"@type",
"$"
]
},
"description": "List of related images as banners, logo's, backgrounds..."
},
"banners": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`Banner categorization, ie: CHANNEL_PURCHASE_HEADER_BANNER, CHANNEL_PURCHASE_BANNER, PROMOTER_PURCHASE_BANNER`"
},
"imageUrl": {
"type": "string",
"description": "Absolute path to the banner image file."
},
"linkUrl": {
"type": "string",
"description": "Direct link to the promotional site just in case."
}
},
"required": [
"@type",
"imageUrl"
]
},
"description": "List of related banners to put into a website, pdf, ticket..."
}
},
"required": [
"@language"
]
},
"textColor": {
"type": "string"
},
"labelColor": {
"type": "string"
},
"backgroundColor": {
"type": "string"
}
}
},
"clientEventDiscount": {
"type": "object",
"properties": {
"discountType": {
"type": "string",
"enum": [
"AMOUNT",
"PERCENT"
]
},
"discount": {
"type": "number"
}
},
"required": [
"discountType"
]
}
},
"required": [
"@id",
"internalName",
"externalReferenceCode",
"title",
"subtitle",
"shortDescription",
"longDescription",
"additionalEventData",
"duration",
"severalVenues",
"severalLocations",
"supraEvent",
"giftTicket",
"nominal",
"eventType",
"passbookPreferences"
]
},
"forSale": {
"type": "boolean",
"description": "Indicates the event is whether on sale or not."
},
"blockingReasons": {
"type": "string"
},
"hasProducts": {
"type": "boolean",
"description": "For Onebox box office purposes only."
},
"admission": {
"type": "string",
"enum": [
"ALL_AGES_ADMITTED",
"NOT_ADMITTED_UNDER_4",
"NOT_ADMITTED_UNDER_7",
"NOT_ADMITTED_UNDER_8",
"NOT_ADMITTED_UNDER_12",
"NOT_ADMITTED_UNDER_13",
"NOT_ADMITTED_UNDER_14",
"NOT_ADMITTED_UNDER_16",
"NOT_ADMITTED_UNDER_18",
"NOT_ADMITTED_UNDER_21"
],
"description": "Filter the age range to be admitted as an attendant."
},
"supportedEventType": {
"type": "string",
"enum": [
"EVENT",
"ACTIVITY"
]
},
"supportedVisitorType": {
"type": "string",
"enum": [
"INDIVIDUAL",
"GROUP",
"MIXED"
]
},
"attribute-values": {
"type": "array",
"items": {
"type": "object",
"properties": {
"attribute-info": {
"type": "object",
"properties": {
"id": {
"type": "number",
"description": "Unique identifier."
},
"name": {
"type": "string"
},
"selection": {
"type": "string",
"enum": [
"SINGLE",
"MULTIPLE"
]
},
"domain-value-info": {
"type": "array",
"items": {
"type": "object",
"properties": {
"idValue": {
"type": "number",
"description": "Unique identifier."
},
"value": {
"type": "string"
},
"referenceCode": {
"type": "string"
}
},
"required": [
"idValue",
"value",
"referenceCode"
]
}
},
"domain": {
"type": "string",
"enum": [
"EVENT",
"SESSION",
"GROUP",
"PROFILE"
]
},
"valueType": {
"type": "string",
"enum": [
"USER_INPUT_INTEGER",
"USER_INPUT_STRING",
"DOMAIN_VALUE"
]
},
"referenceCode": {
"type": "string"
}
},
"required": [
"id",
"name",
"selection",
"domain-value-info",
"domain",
"valueType",
"referenceCode"
]
},
"attribute-value": {
"type": "array",
"items": {
"type": "object",
"properties": {
"user-input-value": {
"type": "object",
"properties": {},
"description": "Unique identifier."
},
"domain-value": {
"type": "object",
"properties": {
"value": {
"type": "string"
},
"idValue": {
"type": "number"
}
},
"required": [
"value"
],
"description": "Unique identifier."
}
}
}
},
"idAttribute": {
"type": "number"
},
"description": {
"type": "string"
}
},
"required": [
"attribute-info",
"attribute-value"
]
}
},
"visitorGroupConfig": {
"type": "string"
},
"hideSessionDates": {
"type": "boolean",
"description": "For Onebox box office purposes only."
},
"showDate": {
"type": "boolean",
"description": "For Onebox box office purposes only."
},
"showDatetime": {
"type": "boolean",
"description": "For Onebox box office purposes only."
},
"@rates": {
"type": "string",
"description": "Rate description identifier."
},
"season-session-info": {
"type": "object",
"properties": {
"beginDate": {
"type": "string"
},
"endDate": {
"type": "string"
},
"idsSeasonSessions": {
"type": "array"
},
"seasonSessions": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "`Onebox session/performance unique identifier.`"
},
"internalName": {
"type": "string",
"description": "Product internal description name."
},
"name": {
"type": "string",
"description": "Public product name depending on the language requestd."
},
"description": {
"type": "string",
"description": "Session description"
},
"dates": {
"type": "object",
"properties": {
"datetime": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"enum": [
"EVENT_BEGIN",
"EVENT_END",
"SESSION_BEGIN",
"SESSION_END",
"SESSION_SALES_BEGIN",
"SESSION_SALES_END",
"PRODUCT_SALES",
"PRODUCT_SALES_END",
"SESSION_PUBLISHED",
"PROMOTION_BEGIN",
"PROMOTION_END",
"SEASON_TICKET_HOLDER_BEGIN",
"SEASON_TICKET_HOLDER_END"
],
"description": "Define the date meaning possibilites."
},
"@pendingConfirmation": {
"type": "boolean",
"description": "Says whether the date is finally commited or not."
},
"@timeZoneId": {
"type": "string",
"description": "Define the time zone worldwide from UTC."
},
"$": {
"type": "string",
"description": "XmlGregorianCalendar representation of the given date."
}
}
}
}
}
},
"venue": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Onebox internal venue unique identifier."
},
"@name": {
"type": "string",
"description": "Public venue name."
},
"@timeZone": {
"type": "string",
"description": "Define the time zone worldwide from UTC."
},
"communication-elements": {
"type": "object",
"properties": {
"@language": {
"type": "string",
"description": "Indicates the language of the communitacion event details."
},
"images": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`Image categorization, ie: LOGO_WEB, IMG_BANNER_WEB, IMG_BODY_WEB.`"
},
"@order": {
"type": "number",
"description": "Indicates just the order/priority in case of same type. This number is unique."
},
"$": {
"type": "string",
"description": "Absolute path to the image file."
}
},
"required": [
"@type",
"@order",
"$"
]
},
"description": "List of related images as banners, logo's, backgrounds..."
},
"videos": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`Video categorization.`"
},
"$": {
"type": "string",
"description": "Absolute path to the video file."
}
},
"required": [
"@type",
"$"
]
},
"description": "List of related images as banners, logo's, backgrounds..."
},
"files": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`File categorization.`"
},
"$": {
"type": "string",
"description": "Absolute path to the file."
}
},
"required": [
"@type",
"$"
]
},
"description": "List of related images as banners, logo's, backgrounds..."
},
"banners": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`Banner categorization, ie: CHANNEL_PURCHASE_HEADER_BANNER, CHANNEL_PURCHASE_BANNER, PROMOTER_PURCHASE_BANNER`"
},
"imageUrl": {
"type": "string",
"description": "Absolute path to the banner image file."
},
"linkUrl": {
"type": "string",
"description": "Direct link to the promotional site just in case."
}
},
"required": [
"@type",
"imageUrl"
]
},
"description": "List of related banners to put into a website, pdf, ticket..."
}
},
"required": [
"@language"
]
},
"location": {
"type": "object",
"properties": {
"address": {
"type": "string",
"description": "Venue address where the event will be performed."
},
"city": {
"type": "string",
"description": "City where the event will be performed."
},
"postalCode": {
"type": "string",
"description": "Postal code or zip code where the event will be performed."
},
"countrySubdivision": {
"type": "object",
"properties": {
"@code": {
"type": "string",
"description": "Item unique identifier."
},
"$": {
"type": "string",
"description": "Item value string."
}
},
"required": [
"@code",
"$"
],
"description": "`Country subdivision, this shall be the province, state or county. Ie: ES-T - Tarragona.`"
},
"country": {
"type": "object",
"properties": {
"@code": {
"type": "string",
"description": "Item unique identifier."
},
"$": {
"type": "string",
"description": "Item value string."
}
},
"required": [
"@code",
"$"
],
"description": "`Ie: ES - Spain.`"
},
"coordinates": {
"type": "string"
}
},
"required": [
"address",
"city",
"postalCode",
"countrySubdivision",
"country"
]
}
},
"required": [
"@id",
"@name"
]
},
"space": {
"type": "object",
"properties": {
"id": {
"type": "number",
"description": "Unique space identifier."
},
"name": {
"type": "string",
"description": "Space name."
}
}
},
"event-basic-info": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique identifier for each event/activity product."
},
"internalName": {
"type": "string",
"description": "Product internal description name."
},
"externalReferenceCode": {
"type": "string",
"description": "In case of product from 3rd party suppliers, those came with its own reference."
},
"title": {
"type": "string",
"description": "Event main title"
},
"subtitle": {
"type": "string",
"description": "Event secondary title"
},
"shortDescription": {
"type": "string",
"description": "Event short description"
},
"longDescription": {
"type": "string",
"description": "Event detailed description"
},
"additionalEventData": {
"type": "string"
},
"duration": {
"type": "string"
},
"communication-elements": {
"type": "object",
"properties": {
"@language": {
"type": "string",
"description": "Indicates the language of the communitacion event details."
},
"images": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`Image categorization, ie: LOGO_WEB, IMG_BANNER_WEB, IMG_BODY_WEB.`"
},
"@order": {
"type": "number",
"description": "Indicates just the order/priority in case of same type. This number is unique."
},
"$": {
"type": "string",
"description": "Absolute path to the image file."
}
},
"required": [
"@type",
"@order",
"$"
]
},
"description": "List of related images as banners, logo's, backgrounds..."
},
"videos": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`Video categorization.`"
},
"$": {
"type": "string",
"description": "Absolute path to the video file."
}
},
"required": [
"@type",
"$"
]
},
"description": "List of related images as banners, logo's, backgrounds..."
},
"files": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`File categorization.`"
},
"$": {
"type": "string",
"description": "Absolute path to the file."
}
},
"required": [
"@type",
"$"
]
},
"description": "List of related images as banners, logo's, backgrounds..."
},
"banners": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`Banner categorization, ie: CHANNEL_PURCHASE_HEADER_BANNER, CHANNEL_PURCHASE_BANNER, PROMOTER_PURCHASE_BANNER`"
},
"imageUrl": {
"type": "string",
"description": "Absolute path to the banner image file."
},
"linkUrl": {
"type": "string",
"description": "Direct link to the promotional site just in case."
}
},
"required": [
"@type",
"imageUrl"
]
},
"description": "List of related banners to put into a website, pdf, ticket..."
}
},
"required": [
"@language"
]
},
"taxonomy": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique identifier of this product segmentation."
},
"code": {
"type": "string",
"description": "Unique identifier fo this product segmentation to be used in th API."
},
"description": {
"type": "string",
"description": "Short description to better understand the taxonomy segmentation."
},
"superior-taxonomy": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique identifier of this product segmentation."
},
"code": {
"type": "string",
"description": "Unique identifier fo this product segmentation to be used in th API."
},
"description": {
"type": "string",
"description": "Short description to better understand the taxonomy segmentation."
}
},
"required": [
"@id",
"code"
]
}
},
"required": [
"@id",
"code"
]
},
"custom-taxonomy": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique identifier of this product segmentation."
},
"code": {
"type": "string",
"description": "Unique identifier fo this product segmentation to be used in th API."
},
"description": {
"type": "string",
"description": "Short description to better understand the taxonomy segmentation."
}
},
"required": [
"@id",
"code"
]
},
"promoter-custom-taxonomy": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique identifier of this product segmentation."
},
"code": {
"type": "string",
"description": "Unique identifier fo this product segmentation to be used in th API."
},
"description": {
"type": "string",
"description": "Short description to better understand the taxonomy segmentation."
}
},
"required": [
"@id",
"code"
]
},
"languages": {
"type": "object",
"properties": {
"language": {
"type": "array",
"items": [
{},
{
"type": "string",
"enum": [
"ca_ES",
"es_ES",
"en_US",
"fr_FR",
"it_IT",
"de_DE"
]
}
],
"description": "`List of the available languages for the event descriptions.`"
}
}
},
"dates": {
"type": "object",
"properties": {
"datetime": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"enum": [
"EVENT_BEGIN",
"EVENT_END",
"SESSION_BEGIN",
"SESSION_END",
"SESSION_SALES_BEGIN",
"SESSION_SALES_END",
"PRODUCT_SALES",
"PRODUCT_SALES_END",
"SESSION_PUBLISHED",
"PROMOTION_BEGIN",
"PROMOTION_END",
"SEASON_TICKET_HOLDER_BEGIN",
"SEASON_TICKET_HOLDER_END"
],
"description": "Define the date meaning possibilites."
},
"@pendingConfirmation": {
"type": "boolean",
"description": "Says whether the date is finally commited or not."
},
"@timeZoneId": {
"type": "string",
"description": "Define the time zone worldwide from UTC."
},
"$": {
"type": "string",
"description": "XmlGregorianCalendar representation of the given date."
}
}
}
}
}
},
"entidad": {
"type": "object",
"properties": {
"@id": {
"type": "number"
},
"name": {
"type": "string",
"description": "Promotor/Organizer company name."
},
"nif": {
"type": "string",
"description": "Tax/Vat unique identifier number."
},
"email": {
"type": "string"
},
"phoneNumber": {
"type": "string"
},
"timeZone": {
"type": "string"
},
"location": {
"type": "object",
"properties": {
"address": {
"type": "string",
"description": "Venue address where the event will be performed."
},
"city": {
"type": "string",
"description": "City where the event will be performed."
},
"postalCode": {
"type": "string",
"description": "Postal code or zip code where the event will be performed."
},
"countrySubdivision": {
"type": "object",
"properties": {
"@code": {
"type": "string",
"description": "Item unique identifier."
},
"$": {
"type": "string",
"description": "Item value string."
}
},
"required": [
"@code",
"$"
],
"description": "`Country subdivision, this shall be the province, state or county. Ie: ES-T - Tarragona.`"
},
"country": {
"type": "object",
"properties": {
"@code": {
"type": "string",
"description": "Item unique identifier."
},
"$": {
"type": "string",
"description": "Item value string."
}
},
"required": [
"@code",
"$"
],
"description": "`Ie: ES - Spain.`"
},
"coordinates": {
"type": "string"
}
},
"required": [
"address",
"city",
"postalCode",
"countrySubdivision",
"country"
]
}
},
"required": [
"@id",
"name",
"nif",
"email",
"phoneNumber",
"timeZone"
]
},
"promotor": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Onebox internal unique identifier."
},
"corporateName": {
"type": "string"
},
"fiscalCode": {
"type": "string",
"description": "Tax/Vat unique identifier number."
},
"email": {
"type": "string"
},
"phoneNumber": {
"type": "string"
},
"location": {
"type": "object",
"properties": {
"address": {
"type": "string",
"description": "Venue address where the event will be performed."
},
"city": {
"type": "string",
"description": "City where the event will be performed."
},
"postalCode": {
"type": "string",
"description": "Postal code or zip code where the event will be performed."
},
"countrySubdivision": {
"type": "object",
"properties": {
"@code": {
"type": "string",
"description": "Item unique identifier."
},
"$": {
"type": "string",
"description": "Item value string."
}
},
"required": [
"@code",
"$"
],
"description": "`Country subdivision, this shall be the province, state or county. Ie: ES-T - Tarragona.`"
},
"country": {
"type": "object",
"properties": {
"@code": {
"type": "string",
"description": "Item unique identifier."
},
"$": {
"type": "string",
"description": "Item value string."
}
},
"required": [
"@code",
"$"
],
"description": "`Ie: ES - Spain.`"
},
"coordinates": {
"type": "string"
}
},
"required": [
"address",
"city",
"postalCode",
"countrySubdivision",
"country"
]
}
},
"required": [
"@id",
"corporateName",
"fiscalCode",
"email",
"phoneNumber"
]
},
"tour": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Onebox internal unique identifier."
},
"name": {
"type": "string",
"description": "Tour name."
},
"promotorReference": {
"type": "string",
"description": "Promotor reference."
}
},
"required": [
"@id",
"name",
"promotorReference"
]
},
"severalVenues": {
"type": "boolean",
"description": "Is the event performed in different venues?"
},
"severalLocations": {
"type": "boolean",
"description": "Is the event perfomed in different locations?"
},
"supraEvent": {
"type": "boolean",
"description": "Is the event a sibling from another parent event?"
},
"giftTicket": {
"type": "boolean",
"description": "Has this event free entrance tickets allowed?"
},
"nominal": {
"type": "boolean",
"description": "Has the ticket to indicate the owner name / surname / id details?"
},
"eventType": {
"type": "string",
"enum": [
"EVENT",
"ACTIVITY"
]
},
"attribute-values": {
"type": "array",
"items": {
"type": "object",
"properties": {
"attribute-info": {
"type": "object",
"properties": {
"id": {
"type": "number",
"description": "Unique identifier."
},
"name": {
"type": "string"
},
"selection": {
"type": "string",
"enum": [
"SINGLE",
"MULTIPLE"
]
},
"domain-value-info": {
"type": "array",
"items": {
"type": "object",
"properties": {
"idValue": {
"type": "number",
"description": "Unique identifier."
},
"value": {
"type": "string"
},
"referenceCode": {
"type": "string"
}
},
"required": [
"idValue",
"value",
"referenceCode"
]
}
},
"domain": {
"type": "string",
"enum": [
"EVENT",
"SESSION",
"GROUP",
"PROFILE"
]
},
"valueType": {
"type": "string",
"enum": [
"USER_INPUT_INTEGER",
"USER_INPUT_STRING",
"DOMAIN_VALUE"
]
},
"referenceCode": {
"type": "string"
}
},
"required": [
"id",
"name",
"selection",
"domain-value-info",
"domain",
"valueType",
"referenceCode"
]
},
"attribute-value": {
"type": "array",
"items": {
"type": "object",
"properties": {
"user-input-value": {
"type": "object",
"properties": {},
"description": "Unique identifier."
},
"domain-value": {
"type": "object",
"properties": {
"value": {
"type": "string"
},
"idValue": {
"type": "number"
}
},
"required": [
"value"
],
"description": "Unique identifier."
}
}
}
},
"idAttribute": {
"type": "number"
},
"description": {
"type": "string"
}
},
"required": [
"attribute-info",
"attribute-value"
]
}
},
"passbookPreferences": {
"type": [
"object",
"null"
],
"properties": {
"communication-elements": {
"type": "object",
"properties": {
"@language": {
"type": "string",
"description": "Indicates the language of the communitacion event details."
},
"images": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`Image categorization, ie: LOGO_WEB, IMG_BANNER_WEB, IMG_BODY_WEB.`"
},
"@order": {
"type": "number",
"description": "Indicates just the order/priority in case of same type. This number is unique."
},
"$": {
"type": "string",
"description": "Absolute path to the image file."
}
},
"required": [
"@type",
"@order",
"$"
]
},
"description": "List of related images as banners, logo's, backgrounds..."
},
"videos": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`Video categorization.`"
},
"$": {
"type": "string",
"description": "Absolute path to the video file."
}
},
"required": [
"@type",
"$"
]
},
"description": "List of related images as banners, logo's, backgrounds..."
},
"files": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`File categorization.`"
},
"$": {
"type": "string",
"description": "Absolute path to the file."
}
},
"required": [
"@type",
"$"
]
},
"description": "List of related images as banners, logo's, backgrounds..."
},
"banners": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`Banner categorization, ie: CHANNEL_PURCHASE_HEADER_BANNER, CHANNEL_PURCHASE_BANNER, PROMOTER_PURCHASE_BANNER`"
},
"imageUrl": {
"type": "string",
"description": "Absolute path to the banner image file."
},
"linkUrl": {
"type": "string",
"description": "Direct link to the promotional site just in case."
}
},
"required": [
"@type",
"imageUrl"
]
},
"description": "List of related banners to put into a website, pdf, ticket..."
}
},
"required": [
"@language"
]
},
"textColor": {
"type": "string"
},
"labelColor": {
"type": "string"
},
"backgroundColor": {
"type": "string"
}
}
},
"clientEventDiscount": {
"type": "object",
"properties": {
"discountType": {
"type": "string",
"enum": [
"AMOUNT",
"PERCENT"
]
},
"discount": {
"type": "number"
}
},
"required": [
"discountType"
]
}
},
"required": [
"@id",
"internalName",
"externalReferenceCode",
"title",
"subtitle",
"shortDescription",
"longDescription",
"additionalEventData",
"duration",
"severalVenues",
"severalLocations",
"supraEvent",
"giftTicket",
"nominal",
"eventType",
"passbookPreferences"
]
},
"forSale": {
"type": "boolean",
"description": "Indicates the event is whether on sale or not."
},
"blockingReasons": {
"type": "string"
},
"hasProducts": {
"type": "boolean",
"description": "For Onebox box office purposes only."
},
"admission": {
"type": "string",
"enum": [
"ALL_AGES_ADMITTED",
"NOT_ADMITTED_UNDER_4",
"NOT_ADMITTED_UNDER_7",
"NOT_ADMITTED_UNDER_8",
"NOT_ADMITTED_UNDER_12",
"NOT_ADMITTED_UNDER_13",
"NOT_ADMITTED_UNDER_14",
"NOT_ADMITTED_UNDER_16",
"NOT_ADMITTED_UNDER_18",
"NOT_ADMITTED_UNDER_21"
],
"description": "Filter the age range to be admitted as an attendant."
},
"supportedEventType": {
"type": "string",
"enum": [
"EVENT",
"ACTIVITY"
]
},
"supportedVisitorType": {
"type": "string",
"enum": [
"INDIVIDUAL",
"GROUP",
"MIXED"
]
},
"attribute-values": {
"type": "array",
"items": {
"type": "object",
"properties": {
"attribute-info": {
"type": "object",
"properties": {
"id": {
"type": "number",
"description": "Unique identifier."
},
"name": {
"type": "string"
},
"selection": {
"type": "string",
"enum": [
"SINGLE",
"MULTIPLE"
]
},
"domain-value-info": {
"type": "array",
"items": {
"type": "object",
"properties": {
"idValue": {
"type": "number",
"description": "Unique identifier."
},
"value": {
"type": "string"
},
"referenceCode": {
"type": "string"
}
},
"required": [
"idValue",
"value",
"referenceCode"
]
}
},
"domain": {
"type": "string",
"enum": [
"EVENT",
"SESSION",
"GROUP",
"PROFILE"
]
},
"valueType": {
"type": "string",
"enum": [
"USER_INPUT_INTEGER",
"USER_INPUT_STRING",
"DOMAIN_VALUE"
]
},
"referenceCode": {
"type": "string"
}
},
"required": [
"id",
"name",
"selection",
"domain-value-info",
"domain",
"valueType",
"referenceCode"
]
},
"attribute-value": {
"type": "array",
"items": {
"type": "object",
"properties": {
"user-input-value": {
"type": "object",
"properties": {},
"description": "Unique identifier."
},
"domain-value": {
"type": "object",
"properties": {
"value": {
"type": "string"
},
"idValue": {
"type": "number"
}
},
"required": [
"value"
],
"description": "Unique identifier."
}
}
}
},
"idAttribute": {
"type": "number"
},
"description": {
"type": "string"
}
},
"required": [
"attribute-info",
"attribute-value"
]
}
},
"visitorGroupConfig": {
"type": "string"
},
"hideSessionDates": {
"type": "boolean",
"description": "For Onebox box office purposes only."
},
"showDate": {
"type": "boolean",
"description": "For Onebox box office purposes only."
},
"showDatetime": {
"type": "boolean",
"description": "For Onebox box office purposes only."
},
"@rates": {
"type": "string",
"description": "Rate description identifier."
},
"season-session-info": {
"type": "object",
"properties": {},
"description": "Avoided loop. Object just like your ancestor 'season-session-info'"
}
},
"required": [
"@id",
"internalName",
"name",
"description",
"venue",
"space",
"event-basic-info",
"blockingReasons",
"admission",
"supportedEventType",
"supportedVisitorType",
"hideSessionDates",
"showDate",
"showDatetime",
"@rates",
"season-session-info"
]
},
"@isSeasonSession": {
"type": "number",
"description": "Unique season session identifier."
}
},
"required": [
"seasonSessions",
"@isSeasonSession"
]
}
},
"required": [
"@id",
"internalName",
"name",
"description",
"venue",
"space",
"event-basic-info",
"blockingReasons",
"admission",
"supportedEventType",
"supportedVisitorType",
"hideSessionDates",
"showDate",
"showDatetime",
"@rates",
"season-session-info"
]
},
"event-basic-info": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique identifier for each event/activity product."
},
"internalName": {
"type": "string",
"description": "Product internal description name."
},
"externalReferenceCode": {
"type": "string",
"description": "In case of product from 3rd party suppliers, those came with its own reference."
},
"title": {
"type": "string",
"description": "Event main title"
},
"subtitle": {
"type": "string",
"description": "Event secondary title"
},
"shortDescription": {
"type": "string",
"description": "Event short description"
},
"longDescription": {
"type": "string",
"description": "Event detailed description"
},
"additionalEventData": {
"type": "string"
},
"duration": {
"type": "string"
},
"communication-elements": {
"type": "object",
"properties": {
"@language": {
"type": "string",
"description": "Indicates the language of the communitacion event details."
},
"images": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`Image categorization, ie: LOGO_WEB, IMG_BANNER_WEB, IMG_BODY_WEB.`"
},
"@order": {
"type": "number",
"description": "Indicates just the order/priority in case of same type. This number is unique."
},
"$": {
"type": "string",
"description": "Absolute path to the image file."
}
},
"required": [
"@type",
"@order",
"$"
]
},
"description": "List of related images as banners, logo's, backgrounds..."
},
"videos": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`Video categorization.`"
},
"$": {
"type": "string",
"description": "Absolute path to the video file."
}
},
"required": [
"@type",
"$"
]
},
"description": "List of related images as banners, logo's, backgrounds..."
},
"files": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`File categorization.`"
},
"$": {
"type": "string",
"description": "Absolute path to the file."
}
},
"required": [
"@type",
"$"
]
},
"description": "List of related images as banners, logo's, backgrounds..."
},
"banners": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`Banner categorization, ie: CHANNEL_PURCHASE_HEADER_BANNER, CHANNEL_PURCHASE_BANNER, PROMOTER_PURCHASE_BANNER`"
},
"imageUrl": {
"type": "string",
"description": "Absolute path to the banner image file."
},
"linkUrl": {
"type": "string",
"description": "Direct link to the promotional site just in case."
}
},
"required": [
"@type",
"imageUrl"
]
},
"description": "List of related banners to put into a website, pdf, ticket..."
}
},
"required": [
"@language"
]
},
"taxonomy": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique identifier of this product segmentation."
},
"code": {
"type": "string",
"description": "Unique identifier fo this product segmentation to be used in th API."
},
"description": {
"type": "string",
"description": "Short description to better understand the taxonomy segmentation."
},
"superior-taxonomy": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique identifier of this product segmentation."
},
"code": {
"type": "string",
"description": "Unique identifier fo this product segmentation to be used in th API."
},
"description": {
"type": "string",
"description": "Short description to better understand the taxonomy segmentation."
}
},
"required": [
"@id",
"code"
]
}
},
"required": [
"@id",
"code"
]
},
"custom-taxonomy": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique identifier of this product segmentation."
},
"code": {
"type": "string",
"description": "Unique identifier fo this product segmentation to be used in th API."
},
"description": {
"type": "string",
"description": "Short description to better understand the taxonomy segmentation."
}
},
"required": [
"@id",
"code"
]
},
"promoter-custom-taxonomy": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique identifier of this product segmentation."
},
"code": {
"type": "string",
"description": "Unique identifier fo this product segmentation to be used in th API."
},
"description": {
"type": "string",
"description": "Short description to better understand the taxonomy segmentation."
}
},
"required": [
"@id",
"code"
]
},
"languages": {
"type": "object",
"properties": {
"language": {
"type": "array",
"items": [
{},
{
"type": "string",
"enum": [
"ca_ES",
"es_ES",
"en_US",
"fr_FR",
"it_IT",
"de_DE"
]
}
],
"description": "`List of the available languages for the event descriptions.`"
}
}
},
"dates": {
"type": "object",
"properties": {
"datetime": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"enum": [
"EVENT_BEGIN",
"EVENT_END",
"SESSION_BEGIN",
"SESSION_END",
"SESSION_SALES_BEGIN",
"SESSION_SALES_END",
"PRODUCT_SALES",
"PRODUCT_SALES_END",
"SESSION_PUBLISHED",
"PROMOTION_BEGIN",
"PROMOTION_END",
"SEASON_TICKET_HOLDER_BEGIN",
"SEASON_TICKET_HOLDER_END"
],
"description": "Define the date meaning possibilites."
},
"@pendingConfirmation": {
"type": "boolean",
"description": "Says whether the date is finally commited or not."
},
"@timeZoneId": {
"type": "string",
"description": "Define the time zone worldwide from UTC."
},
"$": {
"type": "string",
"description": "XmlGregorianCalendar representation of the given date."
}
}
}
}
}
},
"entidad": {
"type": "object",
"properties": {
"@id": {
"type": "number"
},
"name": {
"type": "string",
"description": "Promotor/Organizer company name."
},
"nif": {
"type": "string",
"description": "Tax/Vat unique identifier number."
},
"email": {
"type": "string"
},
"phoneNumber": {
"type": "string"
},
"timeZone": {
"type": "string"
},
"location": {
"type": "object",
"properties": {
"address": {
"type": "string",
"description": "Venue address where the event will be performed."
},
"city": {
"type": "string",
"description": "City where the event will be performed."
},
"postalCode": {
"type": "string",
"description": "Postal code or zip code where the event will be performed."
},
"countrySubdivision": {
"type": "object",
"properties": {
"@code": {
"type": "string",
"description": "Item unique identifier."
},
"$": {
"type": "string",
"description": "Item value string."
}
},
"required": [
"@code",
"$"
],
"description": "`Country subdivision, this shall be the province, state or county. Ie: ES-T - Tarragona.`"
},
"country": {
"type": "object",
"properties": {
"@code": {
"type": "string",
"description": "Item unique identifier."
},
"$": {
"type": "string",
"description": "Item value string."
}
},
"required": [
"@code",
"$"
],
"description": "`Ie: ES - Spain.`"
},
"coordinates": {
"type": "string"
}
},
"required": [
"address",
"city",
"postalCode",
"countrySubdivision",
"country"
]
}
},
"required": [
"@id",
"name",
"nif",
"email",
"phoneNumber",
"timeZone"
]
},
"promotor": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Onebox internal unique identifier."
},
"corporateName": {
"type": "string"
},
"fiscalCode": {
"type": "string",
"description": "Tax/Vat unique identifier number."
},
"email": {
"type": "string"
},
"phoneNumber": {
"type": "string"
},
"location": {
"type": "object",
"properties": {
"address": {
"type": "string",
"description": "Venue address where the event will be performed."
},
"city": {
"type": "string",
"description": "City where the event will be performed."
},
"postalCode": {
"type": "string",
"description": "Postal code or zip code where the event will be performed."
},
"countrySubdivision": {
"type": "object",
"properties": {
"@code": {
"type": "string",
"description": "Item unique identifier."
},
"$": {
"type": "string",
"description": "Item value string."
}
},
"required": [
"@code",
"$"
],
"description": "`Country subdivision, this shall be the province, state or county. Ie: ES-T - Tarragona.`"
},
"country": {
"type": "object",
"properties": {
"@code": {
"type": "string",
"description": "Item unique identifier."
},
"$": {
"type": "string",
"description": "Item value string."
}
},
"required": [
"@code",
"$"
],
"description": "`Ie: ES - Spain.`"
},
"coordinates": {
"type": "string"
}
},
"required": [
"address",
"city",
"postalCode",
"countrySubdivision",
"country"
]
}
},
"required": [
"@id",
"corporateName",
"fiscalCode",
"email",
"phoneNumber"
]
},
"tour": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Onebox internal unique identifier."
},
"name": {
"type": "string",
"description": "Tour name."
},
"promotorReference": {
"type": "string",
"description": "Promotor reference."
}
},
"required": [
"@id",
"name",
"promotorReference"
]
},
"severalVenues": {
"type": "boolean",
"description": "Is the event performed in different venues?"
},
"severalLocations": {
"type": "boolean",
"description": "Is the event perfomed in different locations?"
},
"supraEvent": {
"type": "boolean",
"description": "Is the event a sibling from another parent event?"
},
"giftTicket": {
"type": "boolean",
"description": "Has this event free entrance tickets allowed?"
},
"nominal": {
"type": "boolean",
"description": "Has the ticket to indicate the owner name / surname / id details?"
},
"eventType": {
"type": "string",
"enum": [
"EVENT",
"ACTIVITY"
]
},
"attribute-values": {
"type": "array",
"items": {
"type": "object",
"properties": {
"attribute-info": {
"type": "object",
"properties": {
"id": {
"type": "number",
"description": "Unique identifier."
},
"name": {
"type": "string"
},
"selection": {
"type": "string",
"enum": [
"SINGLE",
"MULTIPLE"
]
},
"domain-value-info": {
"type": "array",
"items": {
"type": "object",
"properties": {
"idValue": {
"type": "number",
"description": "Unique identifier."
},
"value": {
"type": "string"
},
"referenceCode": {
"type": "string"
}
},
"required": [
"idValue",
"value",
"referenceCode"
]
}
},
"domain": {
"type": "string",
"enum": [
"EVENT",
"SESSION",
"GROUP",
"PROFILE"
]
},
"valueType": {
"type": "string",
"enum": [
"USER_INPUT_INTEGER",
"USER_INPUT_STRING",
"DOMAIN_VALUE"
]
},
"referenceCode": {
"type": "string"
}
},
"required": [
"id",
"name",
"selection",
"domain-value-info",
"domain",
"valueType",
"referenceCode"
]
},
"attribute-value": {
"type": "array",
"items": {
"type": "object",
"properties": {
"user-input-value": {
"type": "object",
"properties": {},
"description": "Unique identifier."
},
"domain-value": {
"type": "object",
"properties": {
"value": {
"type": "string"
},
"idValue": {
"type": "number"
}
},
"required": [
"value"
],
"description": "Unique identifier."
}
}
}
},
"idAttribute": {
"type": "number"
},
"description": {
"type": "string"
}
},
"required": [
"attribute-info",
"attribute-value"
]
}
},
"passbookPreferences": {
"type": [
"object",
"null"
],
"properties": {
"communication-elements": {
"type": "object",
"properties": {
"@language": {
"type": "string",
"description": "Indicates the language of the communitacion event details."
},
"images": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`Image categorization, ie: LOGO_WEB, IMG_BANNER_WEB, IMG_BODY_WEB.`"
},
"@order": {
"type": "number",
"description": "Indicates just the order/priority in case of same type. This number is unique."
},
"$": {
"type": "string",
"description": "Absolute path to the image file."
}
},
"required": [
"@type",
"@order",
"$"
]
},
"description": "List of related images as banners, logo's, backgrounds..."
},
"videos": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`Video categorization.`"
},
"$": {
"type": "string",
"description": "Absolute path to the video file."
}
},
"required": [
"@type",
"$"
]
},
"description": "List of related images as banners, logo's, backgrounds..."
},
"files": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`File categorization.`"
},
"$": {
"type": "string",
"description": "Absolute path to the file."
}
},
"required": [
"@type",
"$"
]
},
"description": "List of related images as banners, logo's, backgrounds..."
},
"banners": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"description": "`Banner categorization, ie: CHANNEL_PURCHASE_HEADER_BANNER, CHANNEL_PURCHASE_BANNER, PROMOTER_PURCHASE_BANNER`"
},
"imageUrl": {
"type": "string",
"description": "Absolute path to the banner image file."
},
"linkUrl": {
"type": "string",
"description": "Direct link to the promotional site just in case."
}
},
"required": [
"@type",
"imageUrl"
]
},
"description": "List of related banners to put into a website, pdf, ticket..."
}
},
"required": [
"@language"
]
},
"textColor": {
"type": "string"
},
"labelColor": {
"type": "string"
},
"backgroundColor": {
"type": "string"
}
}
},
"clientEventDiscount": {
"type": "object",
"properties": {
"discountType": {
"type": "string",
"enum": [
"AMOUNT",
"PERCENT"
]
},
"discount": {
"type": "number"
}
},
"required": [
"discountType"
]
}
},
"required": [
"@id",
"internalName",
"externalReferenceCode",
"title",
"subtitle",
"shortDescription",
"longDescription",
"additionalEventData",
"duration",
"severalVenues",
"severalLocations",
"supraEvent",
"giftTicket",
"nominal",
"eventType",
"passbookPreferences"
]
},
"automatic": {
"type": "string",
"description": "promotion (OrderAutomaticPromotionType)"
},
"promotion": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique identifier."
},
"activator": {
"type": "string"
},
"promotionComElements": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"description": {
"type": "string"
}
}
}
},
"required": [
"@id"
]
},
"discount": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique identifier."
},
"activator": {
"type": "string"
},
"promotionComElements": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"description": {
"type": "string"
}
}
}
},
"required": [
"@id"
]
},
"productAcquisitionType": {
"type": "string",
"enum": [
"GENERAL",
"INVITATION"
]
}
},
"required": [
"venue",
"product-info",
"sku",
"session-basic-info",
"event-basic-info",
"productAcquisitionType"
]
},
"price-breakdown": {
"type": "object",
"properties": {
"base-price": {
"type": "number"
},
"automatic-promotion": {
"type": "number"
},
"manual-promotion": {
"type": "number"
},
"manual-discount": {
"type": "number"
},
"client-discount": {
"type": "number"
},
"client-comission": {
"type": "number"
},
"charges": {
"type": "object",
"properties": {
"charge": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"enum": [
"CHANNEL_CHARGE",
"PROMOTER_CHARGE",
"PROMOTER_CHANNEL_CHARGE"
]
},
"value 1.5": {
"type": "number",
"description": "Value of the charge."
}
},
"required": [
"value 1.5"
]
}
}
},
"required": [
"charge"
]
},
"delivery-costs": {
"type": "number"
},
"insurance": {
"type": "number"
},
"taxes": {
"type": "object",
"properties": {
"tax": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique product identifier."
},
"value": {
"type": "number"
}
},
"required": [
"@id",
"value"
]
}
}
},
"required": [
"tax"
]
},
"final-price": {
"type": "number"
}
},
"required": [
"base-price",
"final-price"
]
},
"bookingIssueStatus": {
"type": "string",
"enum": [
"PENDING",
"SOLD",
"REFUNDED",
"EXPIRED"
]
},
"$": {
"type": "string"
},
"operationsAllowed": {
"type": "object",
"properties": {
"printInvoice": {
"type": "boolean"
}
},
"required": [
"printInvoice"
]
},
"productId": {
"type": "number"
},
"itemWarning": {
"type": "array"
},
"attendant": {
"type": "object",
"properties": {
"field": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@name": {
"type": "string"
},
"@value": {
"type": "string"
}
},
"required": [
"@name",
"@value"
]
}
},
"clientDiscount": {
"type": "object",
"properties": {
"@value": {
"type": "number"
},
"type": {
"type": "string",
"enum": [
"AMOUNT",
"PERCENT"
]
}
},
"required": [
"@value",
"type"
]
},
"clientCommission": {
"type": "object",
"properties": {
"@value": {
"type": "number"
},
"type": {
"type": "string",
"enum": [
"AMOUNT",
"PERCENT"
]
}
},
"required": [
"@value",
"type"
]
}
},
"required": [
"field",
"clientDiscount",
"clientCommission"
]
},
"clientConditions": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique client conditions identifier."
}
},
"required": [
"@id"
]
},
"@relatedRefundOrderCode": {
"type": "string"
},
"@relatedBookingIssueOrderCode": {
"type": "string"
},
"@relatedBookingIssueOrderType": {
"type": "string",
"enum": [
"PURCHASE",
"BOOKING",
"ISSUE",
"REFUND"
]
},
"originalBookingOrderCode": {
"type": "string"
}
},
"required": [
"@id",
"@type"
]
}
},
"delivery-method": {
"type": "number"
},
"insurance": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique insurance identifier."
},
"name": {
"type": "string"
},
"description": {
"type": "string"
},
"privacyPolicy": {
"type": "string"
},
"termsOfUse": {
"type": "string"
},
"additionalData": {
"type": "string"
}
},
"required": [
"@id",
"name",
"description",
"privacyPolicy",
"termsOfUse",
"additionalData"
]
},
"price-breakdown": {
"type": "object",
"properties": {
"base-price": {
"type": "number"
},
"automatic-promotion": {
"type": "number"
},
"manual-promotion": {
"type": "number"
},
"manual-discount": {
"type": "number"
},
"client-discount": {
"type": "number"
},
"client-comission": {
"type": "number"
},
"charges": {
"type": "object",
"properties": {
"charge": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string",
"enum": [
"CHANNEL_CHARGE",
"PROMOTER_CHARGE",
"PROMOTER_CHANNEL_CHARGE"
]
},
"value 1.5": {
"type": "number",
"description": "Value of the charge."
}
},
"required": [
"value 1.5"
]
}
}
},
"required": [
"charge"
]
},
"delivery-costs": {
"type": "number"
},
"insurance": {
"type": "number"
},
"taxes": {
"type": "object",
"properties": {
"tax": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique product identifier."
},
"value": {
"type": "number"
}
},
"required": [
"@id",
"value"
]
}
}
},
"required": [
"tax"
]
},
"final-price": {
"type": "number"
}
},
"required": [
"base-price",
"final-price"
]
},
"payments": {
"type": "object",
"properties": {
"payment": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "number",
"description": "Unique payment identifier."
},
"type": {
"type": "string",
"enum": [
"CREDIT_CARD",
"CASH",
"BANK_TRANSFER",
"OTHER",
"CLIENT_BALANCE"
]
},
"value": {
"type": "number"
},
"externalReference": {
"type": "string"
},
"isAdvance": {
"type": "boolean"
},
"lastCreditCardDigits": {
"type": "string"
},
"creditCardType": {
"type": "string",
"enum": [
"MASTERCARD",
"VISA",
"VISA_ELECTRON",
"AMERICAN_EXPRESS",
"OTHER"
]
},
"paymentDate": {
"type": "string"
},
"transferDate": {
"type": "string"
}
},
"required": [
"id",
"type",
"value",
"paymentDate",
"transferDate"
]
}
}
}
},
"toBePaid": {
"type": "number"
},
"pending": {
"type": "number"
},
"suspectFraud": {
"type": "boolean"
},
"channel": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique channel identifier."
},
"name": {
"type": "string"
},
"type": {
"type": "string",
"enum": [
"BOXOFFICE",
"PORTAL",
"EXTERNAL"
]
},
"subType": {
"type": "string",
"enum": [
"WEB",
"MOBILE",
"BOXOFFICE"
]
}
},
"required": [
"@id",
"name",
"type",
"subType"
]
},
"orderDate": {
"type": "string"
},
"requestedPaymentReference": {
"type": "string"
},
"additionalChannelCommissions": {
"type": "number"
},
"visitorGroup": {
"type": "array"
},
"notes": {
"type": "string"
},
"invoiceData": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"fiscalCode": {
"type": "string"
},
"fiscalCodeValidated": {
"type": "boolean"
},
"address": {
"type": "string"
},
"postalCode": {
"type": "string"
},
"city": {
"type": "string"
},
"$": {
"type": "string"
},
"language": {
"type": "string"
},
"notes": {
"type": "string"
}
},
"required": [
"name",
"fiscalCode",
"fiscalCodeValidated",
"address",
"postalCode",
"city",
"$",
"language",
"notes"
]
},
"platformClient": {
"type": "object",
"properties": {
"id": {
"type": "number",
"description": "Unique platform client identifier."
},
"name": {
"type": "string"
},
"location": {
"type": "object",
"properties": {
"address": {
"type": "string",
"description": "Venue address where the event will be performed."
},
"city": {
"type": "string",
"description": "City where the event will be performed."
},
"postalCode": {
"type": "string",
"description": "Postal code or zip code where the event will be performed."
},
"countrySubdivision": {
"type": "object",
"properties": {
"@code": {
"type": "string",
"description": "Item unique identifier."
},
"$": {
"type": "string",
"description": "Item value string."
}
},
"required": [
"@code",
"$"
],
"description": "`Country subdivision, this shall be the province, state or county. Ie: ES-T - Tarragona.`"
},
"country": {
"type": "object",
"properties": {
"@code": {
"type": "string",
"description": "Item unique identifier."
},
"$": {
"type": "string",
"description": "Item value string."
}
},
"required": [
"@code",
"$"
],
"description": "`Ie: ES - Spain.`"
},
"coordinates": {
"type": "string"
}
},
"required": [
"address",
"city",
"postalCode",
"countrySubdivision",
"country"
]
},
"clientB2B": {
"type": "object",
"properties": {
"businessName": {
"type": "string"
},
"description": {
"type": "string"
},
"iataCode": {
"type": "string"
},
"taxId": {
"type": "string"
},
"tags": {
"type": "string"
},
"clientB2BBranch": {
"type": "object",
"properties": {
"location": {
"type": "object",
"properties": {
"address": {
"type": "string",
"description": "Venue address where the event will be performed."
},
"city": {
"type": "string",
"description": "City where the event will be performed."
},
"postalCode": {
"type": "string",
"description": "Postal code or zip code where the event will be performed."
},
"countrySubdivision": {
"type": "object",
"properties": {
"@code": {
"type": "string",
"description": "Item unique identifier."
},
"$": {
"type": "string",
"description": "Item value string."
}
},
"required": [
"@code",
"$"
],
"description": "`Country subdivision, this shall be the province, state or county. Ie: ES-T - Tarragona.`"
},
"country": {
"type": "object",
"properties": {
"@code": {
"type": "string",
"description": "Item unique identifier."
},
"$": {
"type": "string",
"description": "Item value string."
}
},
"required": [
"@code",
"$"
],
"description": "`Ie: ES - Spain.`"
},
"coordinates": {
"type": "string"
}
},
"required": [
"address",
"city",
"postalCode",
"countrySubdivision",
"country"
]
},
"contactName": {
"type": "string"
},
"contactEmail": {
"type": "string"
},
"contactPhone": {
"type": "string"
},
"@main": {
"type": "boolean"
}
},
"required": [
"location",
"contactName",
"contactEmail",
"contactPhone",
"@main"
]
},
"user": {
"type": "object",
"properties": {
"@id": {
"type": "number",
"description": "Unique user identifier."
},
"name": {
"type": "string"
},
"email": {
"type": "string"
},
"username": {
"type": "string"
}
},
"required": [
"@id",
"name",
"email",
"username"
]
},
"@category": {
"type": "number"
}
},
"required": [
"businessName",
"description",
"iataCode",
"taxId",
"tags",
"clientB2BBranch",
"user"
]
},
"type": {
"type": "string",
"enum": [
"B2B",
"B2C"
]
}
},
"required": [
"id",
"name"
]
},
"@currency": {
"type": "string"
},
"@orderCode": {
"type": "string"
},
"@status": {
"type": "string",
"enum": [
"PRE_ORDER",
"CONFIRMED",
"PAID",
"CANCELLED",
"EXPIRED"
]
},
"@type": {
"type": "string",
"enum": [
"PURCHASE",
"BOOKING",
"ISSUE",
"REFUND"
]
},
"@preOrderTimeLeft": {
"type": "number"
}
},
"required": [
"client",
"order-item",
"insurance",
"toBePaid",
"pending",
"channel",
"notes",
"invoiceData",
"platformClient",
"@currency",
"@orderCode",
"@status",
"@type"
]
}Headers
Content-Type: application/json;charset=UTF-8Body
{
"error": "Bad request",
"error_description": "There was a syntax error, check your params request and try it again."
}Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"error": {
"type": "string",
"description": "Short http error code description"
},
"error_description": {
"type": "string",
"description": "Detailed description of the error returned."
}
},
"required": [
"error",
"error_description"
]
}Headers
Content-Type: application/json;charset=UTF-8Body
{
"error": "Unauthorized",
"error_description": "Full authentication is required to access this resource"
}Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"error": {
"type": "string",
"description": "Short http error code description."
},
"error_description": {
"type": "string",
"description": "Detailed description of the error returned."
}
},
"required": [
"error",
"error_description"
]
}Headers
Content-Type: application/json;charset=UTF-8Body
{
"statusCode": 1010,
"responseTime": "08-03-2017 13:46:03.657"
}Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"statusCode": {
"type": "number",
"description": "This is the Onebox error codes. Get the full list here: [go to Onebox error responses](http://developer.oneboxtickets.com/httpresponsecodes.html)"
},
"responseTime": {
"type": "string"
}
},
"required": [
"statusCode",
"responseTime"
]
}Confirm an existing orderPOST/order/commitOrder{?orderCode,payments,bookingExpireDate,suspectFraud,notes}
Use this service to definetly commit an order, notice that the availability can’t be released through the API afterwards.
- orderCode
string(required) Example: 188a5cf2a844e684375172cb1cf2bbf3- payments
PaymentsType(required) Example: <payments xmlns="http://www.oneboxtm.es/ns/input-data/purchase/order"><payment xmlns="http://www.oneboxtm.es/ns/input-data/purchase/order" type="CASH" value="100.0"/></payments>- bookingExpireDate
string(optional) Example: 2015-10-01T12:00:00+01:00- suspectFraud
boolean(optional) Example: false- notes
string(optional) Example: A note
4. Tickets ¶
This group contains all the related services and resources to generate tickets or to get its information to let the client make it at their end.
Tickets PDF ¶
Headers
Authorization: Bearer [ACCESS_TOKEN]
Content-Type: application/json
Accept: application/json- Headers
traceID:
String: Unique id to identify the transaction within the Onebox API audit systemOB_Error_Code:Number: This is the Onebox error codes. Get the full list here: [go to Onebox error responses](http://developer.oneboxtickets.com/httpresponsecodes.html)
Headers
Content-Type: application/json;charset=UTF-8Body
{
"orderCode": "Hello, world!",
"tickets": {
"ticket": [
{
"id": 1,
"url": "Hello, world!",
"format": "Hello, world!"
}
]
},
"orderReceipt": {
"url": "Hello, world!",
"format": "Hello, world!"
},
"mergedTickets": "Hello, world!"
}Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"orderCode": {
"type": "string"
},
"tickets": {
"type": "object",
"properties": {
"ticket": {
"type": "array"
}
},
"required": [
"ticket"
]
},
"orderReceipt": {
"type": "object",
"properties": {
"url": {
"type": "string"
},
"format": {
"type": "string"
}
}
},
"mergedTickets": {
"type": "string"
}
},
"required": [
"orderCode",
"tickets",
"orderReceipt",
"mergedTickets"
]
}Headers
Content-Type: application/json;charset=UTF-8Body
{
"error": "Bad request",
"error_description": "There was a syntax error, check your params request and try it again."
}Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"error": {
"type": "string",
"description": "Short http error code description"
},
"error_description": {
"type": "string",
"description": "Detailed description of the error returned."
}
},
"required": [
"error",
"error_description"
]
}Headers
Content-Type: application/json;charset=UTF-8Body
{
"error": "Unauthorized",
"error_description": "Full authentication is required to access this resource"
}Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"error": {
"type": "string",
"description": "Short http error code description."
},
"error_description": {
"type": "string",
"description": "Detailed description of the error returned."
}
},
"required": [
"error",
"error_description"
]
}Headers
Content-Type: application/json;charset=UTF-8Body
{
"statusCode": 1010,
"responseTime": "08-03-2017 13:46:03.657"
}Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"statusCode": {
"type": "number",
"description": "This is the Onebox error codes. Get the full list here: [go to Onebox error responses](http://developer.oneboxtickets.com/httpresponsecodes.html)"
},
"responseTime": {
"type": "string"
}
},
"required": [
"statusCode",
"responseTime"
]
}Download the PDF TicketsGET/order/ticketsPDF{?orderCode,items,includeReceipt,merged}
Use this service to retrive the tickets of a given order, bear in mind the order must be already confirmed. The tickets generation are processed asynchronously, in the meantime the tickets are not available, an http error code (1088) will be returned, hence you will have to retry it until get an http 200 status code. Notice that we strongly reccommend you to set a delay time of 1 second at least between each call and never keep sending requests after 30 seconds of polling, thank you.
- orderCode
string(required) Example: 188a5cf2a844e684375172cb1cf2bbf3- items
array[number](optional) Example: 10, 22, 15- includeReceipt
boolean(optional) Example: true- merged
boolean(optional) Example: true
Tickets Information ¶
Headers
Authorization: Bearer [ACCESS_TOKEN]
Content-Type: application/json
Accept: application/json- Headers
traceID:
String: Unique id to identify the transaction within the Onebox API audit systemOB_Error_Code:Number: This is the Onebox error codes. Get the full list here: [go to Onebox error responses](http://developer.oneboxtickets.com/httpresponsecodes.html)
Headers
Content-Type: application/json;charset=UTF-8Body
{
"orderCode": "Hello, world!",
"tickets": {
"ticket": [
{
"id": 1,
"url": "Hello, world!",
"format": "Hello, world!"
}
]
},
"orderReceipt": {
"url": "Hello, world!",
"format": "Hello, world!"
},
"mergedTickets": "Hello, world!"
}Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"orderCode": {
"type": "string"
},
"tickets": {
"type": "object",
"properties": {
"ticket": {
"type": "array"
}
},
"required": [
"ticket"
]
},
"orderReceipt": {
"type": "object",
"properties": {
"url": {
"type": "string"
},
"format": {
"type": "string"
}
}
},
"mergedTickets": {
"type": "string"
}
},
"required": [
"orderCode",
"tickets",
"orderReceipt",
"mergedTickets"
]
}Headers
Content-Type: application/json;charset=UTF-8Body
{
"error": "Bad request",
"error_description": "There was a syntax error, check your params request and try it again."
}Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"error": {
"type": "string",
"description": "Short http error code description"
},
"error_description": {
"type": "string",
"description": "Detailed description of the error returned."
}
},
"required": [
"error",
"error_description"
]
}Headers
Content-Type: application/json;charset=UTF-8Body
{
"error": "Unauthorized",
"error_description": "Full authentication is required to access this resource"
}Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"error": {
"type": "string",
"description": "Short http error code description."
},
"error_description": {
"type": "string",
"description": "Detailed description of the error returned."
}
},
"required": [
"error",
"error_description"
]
}Headers
Content-Type: application/json;charset=UTF-8Body
{
"statusCode": 1010,
"responseTime": "08-03-2017 13:46:03.657"
}Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"statusCode": {
"type": "number",
"description": "This is the Onebox error codes. Get the full list here: [go to Onebox error responses](http://developer.oneboxtickets.com/httpresponsecodes.html)"
},
"responseTime": {
"type": "string"
}
},
"required": [
"statusCode",
"responseTime"
]
}Get the tickets informationGET/order/ticketsInfo{?orderCode,items,includeReceipt,merged}
Use this service to retrive the most relevant information you would need in order to let you creat your own tickets Pdf.
- orderCode
string(required) Example: 188a5cf2a844e684375172cb1cf2bbf3- items
array[number](optional) Example: 10, 22, 15- includeReceipt
boolean(optional) Example: true- merged
boolean(optional) Example: true
Generated by aglio on 19 May 2017